Move PropertyKey from es5 to es2015.core

* Move propertyKey definition to es2015.core

* Update baselines to reflect how one will use --lib
This commit is contained in:
Yui
2016-04-05 11:08:26 -07:00
parent 11887ccc29
commit 988063e9cf
3 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
declare type PropertyKey = string | number | symbol;
interface Array<T> {
/**
* Returns the value of the first element in the array where predicate is true, and undefined

2
src/lib/es5.d.ts vendored
View File

@@ -1247,8 +1247,6 @@ interface TypedPropertyDescriptor<T> {
set?: (value: T) => void;
}
declare type PropertyKey = string | number | symbol;
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;

View File

@@ -1,4 +1,4 @@
// @lib: es5,es2015.symbol,es2015.proxy,es2015.generator,es2015.iterable,es2015.reflect
// @lib: es5,es2015.core,es2015.symbol,es2015.proxy,es2015.generator,es2015.iterable,es2015.reflect
// @target: es6
var s = Symbol();