summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/check/no_error_truncation/main.ts
diff options
context:
space:
mode:
authorKamil Ogórek <kamil.ogorek@gmail.com>2022-12-20 02:29:44 +0100
committerGitHub <noreply@github.com>2022-12-19 20:29:44 -0500
commit199144daf04dc0f67d1ee775f9f39efeb77562d7 (patch)
tree95fc0b4d6f7c8772a72b11bb296f25b13014e460 /cli/tests/testdata/check/no_error_truncation/main.ts
parent54d40e008a0905a28569dbeb6f12a1a02189c217 (diff)
fix(cli): allow for specifying `noErrorTruncation` compiler option (#17127)
Fixes https://github.com/denoland/deno/issues/16568
Diffstat (limited to 'cli/tests/testdata/check/no_error_truncation/main.ts')
-rw-r--r--cli/tests/testdata/check/no_error_truncation/main.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/testdata/check/no_error_truncation/main.ts b/cli/tests/testdata/check/no_error_truncation/main.ts
new file mode 100644
index 000000000..bb1856602
--- /dev/null
+++ b/cli/tests/testdata/check/no_error_truncation/main.ts
@@ -0,0 +1,12 @@
+let x: {
+ propertyWithAnExceedinglyLongName1: string;
+ propertyWithAnExceedinglyLongName2: string;
+ propertyWithAnExceedinglyLongName3: string;
+ propertyWithAnExceedinglyLongName4: string;
+ propertyWithAnExceedinglyLongName5: string;
+ propertyWithAnExceedinglyLongName6: string;
+ propertyWithAnExceedinglyLongName7: string;
+ propertyWithAnExceedinglyLongName8: string;
+};
+
+const _s: string = x;