-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88c7e7d
commit af4bb95
Showing
6 changed files
with
38 additions
and
38 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
3 changes: 2 additions & 1 deletion
3
snapshots/input/syntax/src/namespace.d.ts → snapshots/input/syntax/src/namespace.ts
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,7 +1,8 @@ | ||
declare namespace a { | ||
export declare namespace a { | ||
function hello(): string | ||
interface Interface { | ||
hello: string | ||
} | ||
var i: Interface | ||
export const value = 1 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export declare namespace a { | ||
// definition syntax 1.0.0 src/`namespace.ts`/ | ||
//documentation ```ts\nmodule "namespace.ts"\n``` | ||
// ^ definition syntax 1.0.0 src/`namespace.ts`/a/ | ||
// documentation ```ts\na: typeof a\n``` | ||
function hello(): string | ||
// ^^^^^ definition syntax 1.0.0 src/`namespace.ts`/a/hello(). | ||
// documentation ```ts\nfunction hello(): string\n``` | ||
interface Interface { | ||
// ^^^^^^^^^ definition syntax 1.0.0 src/`namespace.ts`/a/Interface# | ||
// documentation ```ts\ninterface Interface\n``` | ||
hello: string | ||
// ^^^^^ definition syntax 1.0.0 src/`namespace.ts`/a/Interface#hello. | ||
// documentation ```ts\n(property) hello: string\n``` | ||
} | ||
var i: Interface | ||
// ^ definition syntax 1.0.0 src/`namespace.ts`/a/i. | ||
// documentation ```ts\nvar i: Interface\n``` | ||
// ^^^^^^^^^ reference syntax 1.0.0 src/`namespace.ts`/a/Interface# | ||
export const value = 1 | ||
// ^^^^^ definition syntax 1.0.0 src/`namespace.ts`/a/value. | ||
// documentation ```ts\nvar value: 1\n``` | ||
} | ||
|
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