mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
249 B
TypeScript
14 lines
249 B
TypeScript
//// [tests/cases/compiler/indexedAccessImplicitlyAny.ts] ////
|
|
|
|
//// [indexedAccessImplicitlyAny.ts]
|
|
interface I { foof: number };
|
|
declare const i: I;
|
|
i.foo;
|
|
i["foo"];
|
|
|
|
//// [indexedAccessImplicitlyAny.js]
|
|
"use strict";
|
|
;
|
|
i.foo;
|
|
i["foo"];
|