-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4747 from iclanton/stricter-types
Enable some stricter compiler options and eliminate remaining const enums.
- Loading branch information
Showing
82 changed files
with
576 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json", | ||
"compilerOptions": { | ||
"isolatedModules": true, | ||
"types": ["heft-jest", "node"] | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
build-tests/api-extractor-scenarios/src/docReferencesAlias/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
// See LICENSE in the project root for license information. | ||
|
||
export { default as renamed_Options } from './Options'; | ||
export type { default as renamed_Options } from './Options'; | ||
export { default as Item } from './Item'; |
2 changes: 1 addition & 1 deletion
2
build-tests/api-extractor-scenarios/src/docReferencesNamespaceAlias/renamed/sub/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
// See LICENSE in the project root for license information. | ||
|
||
export { default as SubOptions } from './SubOptions'; | ||
export type { default as SubOptions } from './SubOptions'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
common/changes/@microsoft/api-documenter/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@microsoft/api-documenter", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@microsoft/api-documenter" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@microsoft/api-extractor-model/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@microsoft/api-extractor-model", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@microsoft/api-extractor-model" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@microsoft/api-extractor/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@microsoft/api-extractor", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@microsoft/api-extractor" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@microsoft/rush/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@microsoft/rush", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@microsoft/rush" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/debug-certificate-manager/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/debug-certificate-manager", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@rushstack/debug-certificate-manager" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/eslint-patch/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/eslint-patch", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/eslint-patch" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/eslint-plugin-packlets/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/eslint-plugin-packlets", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/eslint-plugin-packlets" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/eslint-plugin-security/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/eslint-plugin-security", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/eslint-plugin-security" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/eslint-plugin/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/eslint-plugin", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/eslint-plugin" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/heft-api-extractor-plugin/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/heft-api-extractor-plugin", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/heft-api-extractor-plugin" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/heft-config-file/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/heft-config-file", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@rushstack/heft-config-file" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/heft-jest-plugin/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/heft-jest-plugin", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/heft-jest-plugin" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/heft-lint-plugin/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/heft-lint-plugin", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/heft-lint-plugin" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/heft-typescript-plugin/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/heft-typescript-plugin", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/heft-typescript-plugin" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/heft/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/heft", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/heft" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/localization-utilities/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/localization-utilities", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@rushstack/localization-utilities" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/node-core-library/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/node-core-library", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@rushstack/node-core-library" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/operation-graph/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/operation-graph", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/operation-graph" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/package-deps-hash/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/package-deps-hash", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@rushstack/package-deps-hash" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/rig-package/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/rig-package", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/rig-package" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/rundown/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/rundown", | ||
"comment": "", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@rushstack/rundown" | ||
} |
10 changes: 10 additions & 0 deletions
10
...on/changes/@rushstack/set-webpack-public-path-plugin/stricter-types_2024-05-29-06-10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/set-webpack-public-path-plugin", | ||
"comment": "Include missing `type` modifiers on type-only exports.", | ||
"type": "patch" | ||
} | ||
], | ||
"packageName": "@rushstack/set-webpack-public-path-plugin" | ||
} |
Oops, something went wrong.