summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/inspector/foo.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-01-09 17:44:36 +0100
committerGitHub <noreply@github.com>2022-01-09 17:44:36 +0100
commitbd53567acf7d7bb28e51c0137054c5a9d9e19bf1 (patch)
treea0f851eaef0c6164b847d75b44cfb26a676a9e53 /cli/tests/testdata/inspector/foo.ts
parent1fb5858009f598ce3f917f9f49c466db81f4d9b0 (diff)
test: add inspector test with ts files (#13312)
Diffstat (limited to 'cli/tests/testdata/inspector/foo.ts')
-rw-r--r--cli/tests/testdata/inspector/foo.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/tests/testdata/inspector/foo.ts b/cli/tests/testdata/inspector/foo.ts
new file mode 100644
index 000000000..c0735926f
--- /dev/null
+++ b/cli/tests/testdata/inspector/foo.ts
@@ -0,0 +1,10 @@
+class Foo {
+ hello(): string {
+ return "hello";
+ }
+}
+
+export function foo(): string {
+ const f = new Foo();
+ return f.hello();
+}