mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
10 lines
233 B
TypeScript
10 lines
233 B
TypeScript
import { runLoaders, getContext, Loader, RunLoaderOption } from 'loader-runner';
|
|
|
|
const option = {} as RunLoaderOption;
|
|
|
|
runLoaders(option, function (err, result) {
|
|
console.log(err, result);
|
|
});
|
|
|
|
getContext('sdlfkjaldfjiojsdf');
|