* Escape symbol names which are not valid identifiers and wrap them in quotes * Pass forward type, do work in getNameOfSymbol * Minimal test * Fix nit
3 lines
110 B
TypeScript
3 lines
110 B
TypeScript
// @declaration: true
|
|
export declare const mapped: { [K in 'a-b-c']: number }
|
|
export const example = mapped; |