* Reparse top-level 'await' in modules * Add more tests and additional diagnostics * One more incremental parse test
8 lines
201 B
TypeScript
8 lines
201 B
TypeScript
// @target: esnext
|
|
// @module: esnext
|
|
// @filename: index.d.ts
|
|
|
|
// await keyword allowed as identifier in a declaration file
|
|
export {};
|
|
declare const await: any;
|
|
declare class C extends await {} |