-
Notifications
You must be signed in to change notification settings - Fork 674
Bring back SourceFile.EndOfFileToken
#1257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
2d49b7c
2374111
6607da5
1571ba6
21b6a94
6210c99
a7b21cf
9f798cf
7e25056
603ed8a
7feb9e7
b44dc32
5bb73c4
705ec33
94a2a5f
2f85a0e
a145e4b
9268f19
d8b176f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,14 +60,14 @@ declare class Cls { | |
static y: string; | ||
} | ||
export default Cls; | ||
export type default = string | number; | ||
export type _default = string | number; | ||
//// [index2.d.ts] | ||
// merge type alias and class (error message improvement needed, see #32368) | ||
export default class C { | ||
} | ||
export type default = string | number; | ||
export type _default = string | number; | ||
//// [index3.d.ts] | ||
// merge type alias and variable (behavior is borked, see #32366) | ||
declare const x = 12; | ||
export { x as default }; | ||
export type default = string | number; | ||
export type _default = string | number; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hm, but this is weird, no? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it is, the comment above this says the behavior is borked - and the type alias declaration here is the same in Strada: |
Uh oh!
There was an error while loading. Please reload this page.