diff options
Diffstat (limited to 'cli/tests/doc')
| -rw-r--r-- | cli/tests/doc/types_header.out | 6 | ||||
| -rw-r--r-- | cli/tests/doc/types_header.ts | 1 | ||||
| -rw-r--r-- | cli/tests/doc/types_hint.out | 5 | ||||
| -rw-r--r-- | cli/tests/doc/types_hint.ts | 2 | ||||
| -rw-r--r-- | cli/tests/doc/types_ref.js | 2 | ||||
| -rw-r--r-- | cli/tests/doc/types_ref.out | 5 |
6 files changed, 21 insertions, 0 deletions
diff --git a/cli/tests/doc/types_header.out b/cli/tests/doc/types_header.out new file mode 100644 index 000000000..ccff1a373 --- /dev/null +++ b/cli/tests/doc/types_header.out @@ -0,0 +1,6 @@ +Download http://127.0.0.1:4545/xTypeScriptTypes.js +Download http://127.0.0.1:4545/xTypeScriptTypes.d.ts +Defined in http://127.0.0.1:4545/xTypeScriptTypes.d.ts:1:0 + +const foo: "foo" + diff --git a/cli/tests/doc/types_header.ts b/cli/tests/doc/types_header.ts new file mode 100644 index 000000000..b64c8d000 --- /dev/null +++ b/cli/tests/doc/types_header.ts @@ -0,0 +1 @@ +export * from "http://127.0.0.1:4545/xTypeScriptTypes.js"; diff --git a/cli/tests/doc/types_hint.out b/cli/tests/doc/types_hint.out new file mode 100644 index 000000000..7eb05faed --- /dev/null +++ b/cli/tests/doc/types_hint.out @@ -0,0 +1,5 @@ +Defined in [WILDCARD]/type_definitions/foo.d.ts:2:0 + +const foo: string + An exported value. + diff --git a/cli/tests/doc/types_hint.ts b/cli/tests/doc/types_hint.ts new file mode 100644 index 000000000..bacea46db --- /dev/null +++ b/cli/tests/doc/types_hint.ts @@ -0,0 +1,2 @@ +// @deno-types="../type_definitions/foo.d.ts" +export * from "../type_definitions/foo.js"; diff --git a/cli/tests/doc/types_ref.js b/cli/tests/doc/types_ref.js new file mode 100644 index 000000000..03d8b5570 --- /dev/null +++ b/cli/tests/doc/types_ref.js @@ -0,0 +1,2 @@ +/// <reference types="../type_definitions/foo.d.ts" /> +export const foo = "foo"; diff --git a/cli/tests/doc/types_ref.out b/cli/tests/doc/types_ref.out new file mode 100644 index 000000000..7eb05faed --- /dev/null +++ b/cli/tests/doc/types_ref.out @@ -0,0 +1,5 @@ +Defined in [WILDCARD]/type_definitions/foo.d.ts:2:0 + +const foo: string + An exported value. + |
