Skip to content

Commit

Permalink
Update fixedDiffReasons for reference directive errors
Browse files Browse the repository at this point in the history
Signed-off-by: Hana Joo <[email protected]>
  • Loading branch information
h-joo committed Feb 26, 2024
1 parent 1b916d5 commit aa6998e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @declaration: true
// @module: amd
// @outFile: out/datastore.bundle.js
// @isolatedDeclarationFixedDiffReason: TSC adds type reference directives.
// @isolatedDeclarationFixedDiffReason: --noResolve prevents reference directives from being generated.
// @isolatedDeclarationDiffReason: TSC adds type reference directives.
// @filename: lib/lib.d.ts
declare module "lib/result" {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/compiler/privacyCannotNameAccessorDeclFile.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @target: ES5
// @module: commonjs
// @declaration: true

// @isolatedDeclarationFixedDiffReason: explicit reference directives are ommitted.
// @Filename: privacyCannotNameAccessorDeclFile_GlobalWidgets.ts
declare module "GlobalWidgets" {
export class Widget3 {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/compiler/privacyCannotNameVarTypeDeclFile.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @module: commonjs
// @declaration: true

// @isolatedDeclarationFixedDiffReason: explicit reference directives are ommitted.

// @Filename: privacyCannotNameVarTypeDeclFile_GlobalWidgets.ts
declare module "GlobalWidgets" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @module: commonjs
// @declaration: true

// @isolatedDeclarationFixedDiffReason: explicit reference directives are ommitted.

// @Filename: privacyFunctionCannotNameParameterTypeDeclFile_GlobalWidgets.ts
declare module "GlobalWidgets" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @module: commonjs
// @declaration: true

// @isolatedDeclarationFixedDiffReason: explicit reference directives are ommitted.

// @Filename: privacyFunctionReturnTypeDeclFile_GlobalWidgets.ts
declare module "GlobalWidgets" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// @module: node16,nodenext
// @declaration: true
// @outDir: out
// @isolatedDeclarationFixedDiffReason: explicit reference directives are ommitted.
// @filename: /node_modules/pkg/package.json
{
"name": "pkg",
Expand Down

0 comments on commit aa6998e

Please sign in to comment.