-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use
declare global
instead of ambient declarations (#8589)
closes #8587
- Loading branch information
1 parent
50c2cc8
commit d552ac1
Showing
17 changed files
with
49 additions
and
103 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 was deleted.
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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
declare namespace App { | ||
interface Locals { | ||
answer: number; | ||
name?: string; | ||
key: string; | ||
params: Record<string, string>; | ||
} | ||
declare global { | ||
namespace App { | ||
interface Locals { | ||
answer: number; | ||
name?: string; | ||
key: string; | ||
params: Record<string, string>; | ||
} | ||
|
||
interface Platform {} | ||
interface Platform {} | ||
} | ||
} | ||
|
||
export {}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/src/app.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/private-dynamic-env/src/app.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/private-static-env-dynamic-import/src/app.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/private-static-env/src/app.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/src/app.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/server-only-folder/src/app.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/server-only-module-dynamic-import/src/app.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/kit/test/build-errors/apps/server-only-module/src/app.d.ts
This file was deleted.
Oops, something went wrong.