-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(deps): bump typescript to 5.3.2 * Update package-lock.json * Update package.json * Update package-lock.json * Add tests for resolution-mode * Disable formatting on prettier-unsupported files Resolves #2446 --------- Co-authored-by: Gerrit Birkeland <[email protected]>
- Loading branch information
1 parent
aba0ef8
commit 25f1beb
Showing
14 changed files
with
57 additions
and
20 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -19,6 +19,6 @@ | |
"react-dom": "^17.0.2" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.1.3" | ||
"typescript": "^5.3.2" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
src/test/converter2/behavior/node_modules/dual/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,11 @@ | ||
// Resolve `pkg` as if we were importing with a `require()` | ||
import type { TypeFromRequire } from "dual" with { | ||
"resolution-mode": "require" | ||
}; | ||
|
||
// Resolve `pkg` as if we were importing with an `import` | ||
import type { TypeFromImport } from "dual" with { | ||
"resolution-mode": "import" | ||
}; | ||
|
||
export interface MergedType extends TypeFromRequire, TypeFromImport {} |
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,10 +1,10 @@ | ||
declare const SingleSimpleCtor: { | ||
export declare const SingleSimpleCtor: { | ||
new (a: string, b: string): Array<string>; | ||
}; | ||
|
||
declare const MultipleSimpleCtors: { | ||
export declare const MultipleSimpleCtors: { | ||
new (a: string, b: string): Array<string>; | ||
new (a: string, b: number): Array<string | number>; | ||
}; | ||
|
||
const AnotherCtor = null! as new (a: string) => Object; | ||
export const AnotherCtor = null! as new (a: string) => Object; |
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