OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/app/typings/shims.d.ts

31 lines
715 B

// Declare some globals
// to work around previously magical global constants
// provided by typings@global
// Active issue
// https://github.com/Microsoft/TypeScript/issues/10178
import * as TLodash from 'lodash';
import * as TAngular from 'angular';
import * as TSinon from 'sinon';
import * as TMoment from 'moment';
import {OpenProject} from 'core-app/globals/openproject';
import {Injector} from '@angular/core';
declare global {
const _:typeof TLodash;
const angular:typeof TAngular;
const sinon:typeof TSinon;
const moment:typeof TMoment;
const bowser:any;
}
declare global {
interface Window {
appBasePath:string;
ng2Injector:Injector;
OpenProject:OpenProject;
}
}
export {};