Commit graph

7 commits

Author SHA1 Message Date
Mohamed Hegazy
888e264eda Merge pull request #15694 from astegmaier/patch-1
getOwnPropertyDescriptor return should allow undefined
2017-05-09 10:55:49 -07:00
Andrew Stegmaier
ccec13aaf1 getOwnPropertyDescriptor return should allow undefined
getOwnPropertyDescriptor _should_ return undefined in certain situations. This is documented here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/getOwnPropertyDescriptor

This change addresses https://github.com/Microsoft/TypeScript/issues/14923 and https://github.com/Microsoft/TypeScript/issues/10904. The original fix to 14923 was to the /lib/lib.es2015.proxy.d.ts file instead of /src/lib/lib.es2015.proxy.d.ts (see: https://github.com/Microsoft/TypeScript/pull/10550/commits). I think this meant that the change got over-written by a generation script (see note here: https://github.com/Microsoft/TypeScript/tree/master/lib)
2017-05-08 23:56:29 -07:00
falsandtru
8a851f3702 Use object type 2017-04-11 21:39:51 +09:00
Andy Hanson
2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Herrington Darkholme
e8af1d285b update declaration file to use intrinsic object type 2017-01-08 18:31:56 +08:00
(´・ω・`)
4166eeb284 fix #12137, correct ProxyHandler signatures (#12172)
* fix #12137, correct ProxyHandler signatures

* address PR review
2016-11-13 15:27:07 -08:00
Kanchalai Tanglertsampan
4e6cef2965 Addres PR: change lib filenames from es6 to es2015 and es7 to es2016 2016-03-28 14:49:22 -07:00
Renamed from src/lib/es6.proxy.d.ts (Browse further)