Skip to content

Files

Latest commit

Nov 16, 2021
21ee852 · Nov 16, 2021

History

History
This branch is 2018 commits behind microsoft/fluentui:master.

custom-global

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

custom-global

usage

As of writing, the custom-global type package only provides IE 11-compatible definitions of Map/Set/WeakMap. Adding definitions to this type package should be a last resort; in general, changing the lib option in tsconfig.json is a better approach (the IE 11-compatible types aren't available as a lib option).

The custom-global types are not referenced by default in most projects. To add a reference, add the following to tsconfig.json compilerOptions:

"typeRoots": ["../../node_modules/@types", "../../typings"],
"types": ["custom-global"] // and any other types you reference