21 lines
400 B
TypeScript
21 lines
400 B
TypeScript
//@module: commonjs
|
|
export interface IOptions {
|
|
italic?: boolean;
|
|
bold?: boolean;
|
|
}
|
|
export interface IMap {
|
|
[s: string]: IOptions;
|
|
}
|
|
|
|
class Bug {
|
|
public values: IMap;
|
|
ok() {
|
|
this.values = {};
|
|
this.values['comments'] = { italic: true };
|
|
}
|
|
shouldBeOK() {
|
|
this.values = {
|
|
comments: { italic: true }
|
|
};
|
|
}
|
|
}
|