Adding jsconfig for npm scripts

This commit is contained in:
Matt Bierner 2022-02-28 15:06:43 -08:00
parent 9a8a8e6c8b
commit 37f3aa632f
No known key found for this signature in database
GPG key ID: 099C331567E11888
4 changed files with 11 additions and 3 deletions

11
build/npm/jsconfig.json Normal file
View file

@ -0,0 +1,11 @@
{
"compilerOptions": {
"target": "es2020",
"lib": [
"ES2020"
],
"module": "node12",
"checkJs": true,
"noEmit": true
}
}

View file

@ -2,7 +2,6 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
//@ts-check
const cp = require('child_process');
const path = require('path');
const fs = require('fs');

View file

@ -2,7 +2,6 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
//@ts-check
let err = false;
const nodeVersion = /^(\d+)\.(\d+)\.(\d+)/.exec(process.versions.node);

View file

@ -2,7 +2,6 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
//@ts-check
'use strict';
let i18n = require("../lib/i18n");