Skip to content

Commit 0d36653

Browse files
committed
Bump all targets to es2020
Fixes microsoft#530
1 parent 1150a1d commit 0d36653

File tree

66 files changed

+128
-119
lines changed

Some content is hidden

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

66 files changed

+128
-119
lines changed

.base-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"rootDir": "src",

authenticationprovider-sample/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es6",
4+
"target": "es2020",
55
"outDir": "out",
66
"lib": [
77
"es6",

basic-multi-root-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"rootDir": ".",

call-hierarchy-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"rootDir": "src",

code-actions-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

codelens-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"rootDir": "src",

comment-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

completions-sample/src/extension.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ export function activate(context: vscode.ExtensionContext) {
1818
// honored by the editor.
1919
const snippetCompletion = new vscode.CompletionItem('Good part of the day');
2020
snippetCompletion.insertText = new vscode.SnippetString('Good ${1|morning,afternoon,evening|}. It is ${1}, right?');
21-
snippetCompletion.documentation = new vscode.MarkdownString("Inserts a snippet that lets you select the _appropriate_ part of the day for your greeting.");
21+
const docs : any = new vscode.MarkdownString("Inserts a snippet that lets you select [link](x.ts).");
22+
snippetCompletion.documentation = docs;
23+
docs.baseUri = vscode.Uri.parse('http://example.com/a/b/c/');
2224

2325
// a completion item that can be accepted by a commit character,
2426
// the `commitCharacters`-property is set which means that the completion will

completions-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

configuration-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

contentprovider-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

custom-editor-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

decorator-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

diagnostic-related-information-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

document-editing-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

extension-terminal-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

fsconsumer-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"compilerOptions": {
33
"strictNullChecks": true,
44
"module": "commonjs",
5-
"target": "es2019",
6-
"lib": ["ES2019"],
5+
"target": "es2020",
6+
"lib": ["es2020"],
77
"outDir": "out",
88
"sourceMap": true,
99
"strict": true,

fsprovider-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"compilerOptions": {
33
"strictNullChecks": true,
44
"module": "commonjs",
5-
"target": "es2019",
6-
"lib": ["ES2019"],
5+
"target": "es2020",
6+
"lib": ["es2020"],
77
"outDir": "out",
88
"sourceMap": true,
99
"strict": true,

getting-started-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

github-authentication-sample/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es6",
4+
"target": "es2020",
55
"outDir": "out",
66
"sourceMap": true,
77
"rootDir": "src",

helloworld-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

helloworld-test-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"rootDir": "src",

helloworld-web-sample/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es6",
4+
"target": "es2020",
55
"outDir": "dist",
66
"lib": [
77
"es6", "WebWorker"

i18n-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

inline-completions/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"sourceMap": true,
88
"strict": true,

lsp-embedded-language-service/client/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-embedded-language-service/server/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
3-
"target": "es2019",
4-
"lib": ["ES2019"],
3+
"target": "es2020",
4+
"lib": ["es2020"],
55
"module": "commonjs",
66
"moduleResolution": "node",
77
"sourceMap": true,

lsp-embedded-language-service/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-embedded-request-forwarding/client/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-embedded-request-forwarding/server/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
3-
"target": "es2019",
4-
"lib": ["ES2019"],
3+
"target": "es2020",
4+
"lib": ["es2020"],
55
"module": "commonjs",
66
"moduleResolution": "node",
77
"sourceMap": true,

lsp-embedded-request-forwarding/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-log-streaming-sample/server/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"module": "commonjs",
77
"moduleResolution": "node",
88
"sourceMap": true,

lsp-multi-server-sample/client/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-multi-server-sample/server/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-multi-server-sample/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-sample/client/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es2019",
5-
"lib": ["ES2019"],
4+
"target": "es2020",
5+
"lib": ["es2020"],
66
"outDir": "out",
77
"rootDir": "src",
88
"sourceMap": true

lsp-sample/server/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
3-
"target": "es2019",
4-
"lib": ["ES2019"],
3+
"target": "es2020",
4+
"lib": ["es2020"],
55
"module": "commonjs",
66
"moduleResolution": "node",
77
"sourceMap": true,

0 commit comments

Comments
 (0)