diff --git a/typings/custom-element-defs.d.ts b/typings/custom-element-defs.d.ts index 5e924809405a..d69d37b09ce9 100644 --- a/typings/custom-element-defs.d.ts +++ b/typings/custom-element-defs.d.ts @@ -2,6 +2,6 @@ // unit testing. See http://stackoverflow.com/a/29833832 for more // details. interface HTMLElement { - getControllerScope?: (() => ng.IScope), - getLocalControllerScope?: (() => ng.IController) + getControllerScope?: (() => ng.IScope); + getLocalControllerScope?: (() => ng.IController); } diff --git a/typings/guppy-defs-f509e155dc66f6310737c328cbfbc35b85194be2.d.ts b/typings/guppy-defs-f509e155dc66f6310737c328cbfbc35b85194be2.d.ts index cef5a059c543..414074366aa8 100644 --- a/typings/guppy-defs-f509e155dc66f6310737c328cbfbc35b85194be2.d.ts +++ b/typings/guppy-defs-f509e155dc66f6310737c328cbfbc35b85194be2.d.ts @@ -21,7 +21,7 @@ interface GuppyInitConfig { debug?: Function; error?: Function; focus?: Function; - } + }; settings?: { xml_content?: string; autoreplace?: string; @@ -30,7 +30,7 @@ interface GuppyInitConfig { blacklist?: string[]; buttons?: string[]; cliptype?: string; - } + }; callback?: Function; } @@ -100,9 +100,9 @@ declare namespace Guppy { name: string, symbol: Object, template?: string): void; export function get_loc( x: number, y: number, current_node?: Object, current_caret?: Object): { - current: Object, - caret: number, - pos: string + current: Object; + caret: number; + pos: string; }; export let kb: Object; export function make_button(url: string, cb: Function): HTMLImageElement; diff --git a/typings/karma-fixtures.d.ts b/typings/karma-fixtures.d.ts index 02b427ba29cd..27731ec1d010 100644 --- a/typings/karma-fixtures.d.ts +++ b/typings/karma-fixtures.d.ts @@ -6,8 +6,8 @@ interface KNN { 'fingerprint_data': { [key: number]: { class: number; - fingerprint: number[][] - } + fingerprint: number[][]; + }; }; 'token_to_id': { [key: string]: number; @@ -35,7 +35,7 @@ interface SVM { type ClassifierAccuracyTest = { 'answer_group_index': number; 'answers': { - code: string + code: string; }[]; }[]; @@ -195,7 +195,7 @@ interface RuleTemplates { StartsWith: RuleDescription; Contains: RuleDescription; FuzzyEquals: RuleDescription; - } + }; } interface KarmaFixtures { diff --git a/typings/pencil-code-embed-defs.d.ts b/typings/pencil-code-embed-defs.d.ts index 7b5603eb8f85..3e1f68c7cf7a 100644 --- a/typings/pencil-code-embed-defs.d.ts +++ b/typings/pencil-code-embed-defs.d.ts @@ -3,8 +3,8 @@ // only class exported by the library. interface SetupCode { - code: string, - type: string + code: string; + type: string; } declare class PencilCodeEmbed { diff --git a/typings/skulpt-defs-7b61d.d.ts b/typings/skulpt-defs-7b61d.d.ts index d2635689f129..54aaf5b0e6c5 100644 --- a/typings/skulpt-defs-7b61d.d.ts +++ b/typings/skulpt-defs-7b61d.d.ts @@ -32,7 +32,7 @@ interface SkulptPython { interface SkulptMappings { round$: { - classes: Object[], + classes: Object[]; 2: null; 3: string; }; @@ -96,39 +96,39 @@ interface SkulptCompiled { } interface SkulptDunderToSkulpt { - '__eq__': 'ob$eq', - '__ne__': 'ob$ne', - '__lt__': 'ob$lt', - '__le__': 'ob$le', - '__gt__': 'ob$gt', - '__ge__': 'ob$ge', - '__hash__': 'tp$hash', - '__abs__': 'nb$abs', - '__neg__': 'nb$negative', - '__pos__': 'nb$positive', - '__int__': 'nb$int_', - '__long__': 'nb$lng', - '__float__': 'nb$float_', - '__add__': 'nb$add', - '__radd__': 'nb$reflected_add', - '__sub__': 'nb$subtract', - '__rsub__': 'nb$reflected_subtract', - '__mul__': 'nb$multiply', - '__rmul__': 'nb$reflected_multiply', - '__div__': 'nb$divide', - '__rdiv__': 'nb$reflected_divide', - '__floordiv__': 'nb$floor_divide', - '__rfloordiv__': 'nb$reflected_floor_divide', - '__mod__': 'nb$remainder', - '__rmod__': 'nb$reflected_remainder', - '__divmod__': 'nb$divmod', - '__rdivmod__': 'nb$reflected_divmod', - '__pow__': 'nb$power', - '__rpow__': 'nb$reflected_power', - '__contains__': 'sq$contains', - '__len__': ['sq$length', 1], - '__get__': ['tp$descr_get', 3], - '__set__': ['tp$descr_set', 3] + '__eq__': 'ob$eq'; + '__ne__': 'ob$ne'; + '__lt__': 'ob$lt'; + '__le__': 'ob$le'; + '__gt__': 'ob$gt'; + '__ge__': 'ob$ge'; + '__hash__': 'tp$hash'; + '__abs__': 'nb$abs'; + '__neg__': 'nb$negative'; + '__pos__': 'nb$positive'; + '__int__': 'nb$int_'; + '__long__': 'nb$lng'; + '__float__': 'nb$float_'; + '__add__': 'nb$add'; + '__radd__': 'nb$reflected_add'; + '__sub__': 'nb$subtract'; + '__rsub__': 'nb$reflected_subtract'; + '__mul__': 'nb$multiply'; + '__rmul__': 'nb$reflected_multiply'; + '__div__': 'nb$divide'; + '__rdiv__': 'nb$reflected_divide'; + '__floordiv__': 'nb$floor_divide'; + '__rfloordiv__': 'nb$reflected_floor_divide'; + '__mod__': 'nb$remainder'; + '__rmod__': 'nb$reflected_remainder'; + '__divmod__': 'nb$divmod'; + '__rdivmod__': 'nb$reflected_divmod'; + '__pow__': 'nb$power'; + '__rpow__': 'nb$reflected_power'; + '__contains__': 'sq$contains'; + '__len__': ['sq$length', 1]; + '__get__': ['tp$descr_get', 3]; + '__set__': ['tp$descr_set', 3]; } interface SkulptFFI { @@ -146,7 +146,7 @@ interface SkulptInternalPy { 'src/classmethod.py': string; 'src/property.py': string; 'src/staticmethod.py': string; - } + }; } interface SkulptMisceval {