Skip to content

Commit fe0cafa

Browse files
authored
Update submodule (microsoft#1913)
1 parent da8e4e0 commit fe0cafa

File tree

116 files changed

+906
-1604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+906
-1604
lines changed

_submodules/TypeScript

Submodule TypeScript updated 774 files

internal/diagnostics/diagnostics_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/fourslash/_scripts/failingTests.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ TestCompletionEntryClassMembersWithInferredFunctionReturnType1
1616
TestCompletionEntryForArgumentConstrainedToString
1717
TestCompletionEntryForArrayElementConstrainedToString
1818
TestCompletionEntryForArrayElementConstrainedToString2
19-
TestCompletionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved
2019
TestCompletionEntryForUnionProperty
2120
TestCompletionEntryForUnionProperty2
2221
TestCompletionForComputedStringProperties

internal/fourslash/tests/gen/completionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved_test.go

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,9 @@ import (
1010

1111
func TestCompletionEntryForClassMembers_StaticWhenBaseTypeIsNotResolved(t *testing.T) {
1212
t.Parallel()
13-
t.Skip()
13+
1414
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
15-
const content = `// @Filename: /node_modules/@types/react/index.d.ts
16-
export = React;
17-
export as namespace React;
18-
declare namespace React {
19-
function createElement(): any;
20-
interface Component<P = {}, S = {}, SS = any> { }
21-
class Component<P, S> {
22-
static contextType?: any;
23-
context: any;
24-
constructor(props: Readonly<P>);
25-
setState<K extends keyof S>(
26-
state: ((prevState: Readonly<S>, props: Readonly<P>) => (Pick<S, K> | S | null)) | (Pick<S, K> | S | null),
27-
callback?: () => void
28-
): void;
29-
}
30-
}
31-
// @Filename: /a.ts
15+
const content = `// @Filename: /a.ts
3216
import React from 'react'
3317
class Slider extends React.Component {
3418
static defau/**/ltProps = {

internal/fourslash/tests/gen/completionForStringLiteralNonrelativeImport16_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ func TestCompletionForStringLiteralNonrelativeImport16(t *testing.T) {
1616
const content = `// @Filename: tsconfig.json
1717
{
1818
"compilerOptions": {
19+
"resolveJsonModule": false,
1920
"baseUrl": "./",
2021
"paths": {
2122
"module1/path1": ["some/path/whatever.ts"],

internal/fourslash/tests/gen/completionsImport_umdDefaultNoCrash2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func TestCompletionsImport_umdDefaultNoCrash2(t *testing.T) {
1313
t.Parallel()
1414

1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
16-
const content = `// @moduleResolution: node
16+
const content = `// @moduleResolution: bundler
1717
// @allowJs: true
1818
// @checkJs: true
1919
// @Filename: /node_modules/dottie/package.json

internal/fourslash/tests/gen/completionsPathsJsonModuleWithoutResolveJsonModule_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func TestCompletionsPathsJsonModuleWithoutResolveJsonModule(t *testing.T) {
1212
t.Parallel()
1313

1414
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
15-
const content = `// @moduleResolution: node
15+
const content = `// @resolveJsonModule: false
1616
// @Filename: /project/test.json
1717
not read
1818
// @Filename: /project/index.ts

internal/fourslash/tests/gen/completionsPathsJsonModule_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func TestCompletionsPathsJsonModule(t *testing.T) {
1313
t.Parallel()
1414
t.Skip()
1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
16-
const content = `// @moduleResolution: node
16+
const content = `// @moduleResolution: bundler
1717
// @resolveJsonModule: true
1818
// @Filename: /project/node_modules/test.json
1919
not read

internal/fourslash/tests/gen/completionsPathsRelativeJsonModule_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func TestCompletionsPathsRelativeJsonModule(t *testing.T) {
1313
t.Parallel()
1414
t.Skip()
1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
16-
const content = `// @moduleResolution: node
16+
const content = `// @moduleResolution: bundler
1717
// @resolveJsonModule: true
1818
// @Filename: /project/test.json
1919
not read

internal/fourslash/tests/gen/completionsPaths_importType_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func TestCompletionsPaths_importType(t *testing.T) {
1414
t.Skip()
1515
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
1616
const content = `// @allowJs: true
17-
// @moduleResolution: node
17+
// @moduleResolution: bundler
1818
// @Filename: /ns.ts
1919
file content not read
2020
// @Filename: /node_modules/package/index.ts

0 commit comments

Comments
 (0)