mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-09 13:48:41 +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');
|