mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
273 B
TypeScript
17 lines
273 B
TypeScript
import builtins from 'rollup-plugin-node-builtins';
|
|
|
|
// No options (default)
|
|
(() => {
|
|
// $ExpectType Plugin
|
|
builtins();
|
|
})();
|
|
|
|
// With `crypto` and `fs` enabled
|
|
(() => {
|
|
// $ExpectType Plugin
|
|
builtins({
|
|
crypto: true,
|
|
fs: true,
|
|
});
|
|
})();
|