Skip to content

Commit 3ea2de4

Browse files
authored
Remove strict mode directive from index.ts (#1069)
Adding the strict mode directive directly to the TS file causes a handful of odd issues: * Strips the closing region tag. Where'd it go? * Adds weird intermediate(?) output to the JS, rendering it un-runnable. The directive isn't needed here, since `"strict": true` has already been specified in the tsconfig.json. For future reference, always specify this directive as a compilerOption in tsconfig.json.
1 parent 58538a2 commit 3ea2de4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • samples/ui-kit-place-details-compact

samples/ui-kit-place-details-compact/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict';
21
/*
32
* @license
43
* Copyright 2025 Google LLC. All Rights Reserved.

0 commit comments

Comments
 (0)