TypeScript/tests/cases/compiler/jsElementAccessNoContextualTypeCrash.ts

13 lines
288 B
TypeScript

// @checkJs: true
// @allowJs: true
// @noEmit: true
// @filename: jsElementAccessNoContextualTypeCrash.js
var Common = {};
self['Common'] = self['Common'] || {};
/**
* @param {string} string
* @return {string}
*/
Common.localize = function (string) {
return string;
};