electron/spec/fixtures/module/preload-context.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
252 B
JavaScript
Raw Normal View History

var test = 'test'; // eslint-disable-line no-var,@typescript-eslint/no-unused-vars
const types = {
require: typeof require,
electron: typeof electron,
window: typeof window,
localVar: typeof window.test
};
console.log(JSON.stringify(types));