You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following discussion at DefinitelyTyped/DefinitelyTyped#15140, it seems that we might benefit from adding a new lib reference directive similar to the types reference directive we have today. The lib reference directive would allow an individual file to specify one or more lib files to include when the file is included.
Example
/// <reference lib="es2015, dom" />
This would allow individuals using @types/core-js (or any other polyfill/shim library) to automatically get the correct types.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Following discussion at DefinitelyTyped/DefinitelyTyped#15140, it seems that we might benefit from adding a new
lib
reference directive similar to thetypes
reference directive we have today. Thelib
reference directive would allow an individual file to specify one or more lib files to include when the file is included.Example
/// <reference lib="es2015, dom" />
This would allow individuals using
@types/core-js
(or any other polyfill/shim library) to automatically get the correct types.The text was updated successfully, but these errors were encountered: