mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 08:51:24 +00:00
Switch to accessibility insights's version of these tools (#603)
* Switch to accessibility insights's version of these tools * auto-add files meeting strict checks
This commit is contained in:
12
strict-null-checks/write-tsconfig.js
Normal file
12
strict-null-checks/write-tsconfig.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
const fs = require("fs");
|
||||
|
||||
module.exports = {
|
||||
writeTsconfigSync: (tsconfigPath, content) => {
|
||||
let serializedContent = JSON.stringify(content, null, " ");
|
||||
serializedContent += "\n";
|
||||
|
||||
fs.writeFileSync(tsconfigPath, serializedContent);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user