Files
github-delete-unused-repos/src/index.ts
T
Abhas 51cbe9fd17 Add rext, react-redux and basic table from react-table
which listens to store changes from core
2018-10-08 08:02:30 +05:30

20 lines
540 B
TypeScript

import 'babel-polyfill';
// tslint:disable-next-line:ordered-imports
import { runMain } from './core/gh';
import './app';
// tslint:disable-next-line:only-arrow-functions
(function(currentWindow: Window) {
// execute when load index.js
// tslint:disable-next-line:no-console
console.log('hello world');
// assign Greeter to global
const myWindow = currentWindow as any;
myWindow.runMain = runMain;
// we can use Greeter , execute following in console
// var greet = new Greeter('myName');
// greet.greet();
})(window);