INNER CODE UNIT · TypeScript
getConfiguredDefaultLocale
baizunxian/zerorunner · frontend/src/components/monaco/nls/index.ts:241
export function getConfiguredDefaultLocale(_) {
// This returns undefined because this implementation isn't used and is overwritten by the loader
// when loaded.
return undefined;
}
export function setPseudoTranslation(value) {
isPseudo = value;
}
/**
* Invoked in a built product at run-time
*/
export function create(key, data) {
var _a;
return {
localize: createScopedLocalize(data[key]),
getConfiguredDefaultLocale: (_a = data.getConfiguredDefaultLocale) !== null && _a !== void 0 ? _a : ((_) => undefined)
};
}