refactor(facade/lang): remove unneded semicolons
Those were previously enforced incorrectly by clang-format Closes #1816
This commit is contained in:
parent
f8f79dc76c
commit
655ed851f0
|
@ -32,8 +32,8 @@ var int;
|
||||||
if (assertionsEnabled_) {
|
if (assertionsEnabled_) {
|
||||||
_global.assert = assert;
|
_global.assert = assert;
|
||||||
// `int` is not a valid JS type
|
// `int` is not a valid JS type
|
||||||
int = assert.define(
|
int = assert.define('int',
|
||||||
'int', function(value) { return typeof value === 'number' && value % 1 === 0; });
|
function(value) { return typeof value === 'number' && value % 1 === 0; });
|
||||||
} else {
|
} else {
|
||||||
int = {};
|
int = {};
|
||||||
_global.assert = function() {};
|
_global.assert = function() {};
|
||||||
|
@ -44,10 +44,10 @@ export {int};
|
||||||
// see https://github.com/angular/ts2dart/pull/151 for more info
|
// see https://github.com/angular/ts2dart/pull/151 for more info
|
||||||
export function CONST_EXPR<T>(expr: T): T {
|
export function CONST_EXPR<T>(expr: T): T {
|
||||||
return expr;
|
return expr;
|
||||||
};
|
}
|
||||||
export function CONST() {
|
export function CONST() {
|
||||||
return (target) => target;
|
return (target) => target;
|
||||||
};
|
}
|
||||||
export class ABSTRACT {}
|
export class ABSTRACT {}
|
||||||
export class IMPLEMENTS {}
|
export class IMPLEMENTS {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue