chore: replace @CONST() with /*@ts2dart_const*/

This commit is contained in:
Misko Hevery
2016-04-29 16:53:50 -07:00
committed by Martin Probst
parent a02614beaa
commit 3aa322a9c6
55 changed files with 240 additions and 246 deletions
+1 -5
View File
@@ -14,10 +14,6 @@ class Math {
static num min(num a, num b) => math.min(a, b);
}
class CONST {
const CONST();
}
const IS_DART = true;
scheduleMicroTask(Function fn) {
@@ -398,4 +394,4 @@ num bitWiseAnd(List values) {
String escape(String s) {
return Uri.encodeComponent(s);
}
}
-4
View File
@@ -106,10 +106,6 @@ _global.assert = function assert(condition) {
// TODO: to be fixed properly via #2830, noop for now
};
export function CONST(): ClassDecorator & PropertyDecorator {
return (target) => target;
}
export function isPresent(obj: any): boolean {
return obj !== undefined && obj !== null;
}