parent
a54fcdd472
commit
821a132a46
@ -0,0 +1,11 @@ |
||||
import {DemoService} from "./demo.service"; |
||||
|
||||
class DemoController { |
||||
|
||||
constructor(demoService: DemoService) { |
||||
demoService.method(); |
||||
} |
||||
|
||||
} |
||||
|
||||
angular.module('openproject').controller("DemoController", DemoController); |
@ -0,0 +1,13 @@ |
||||
|
||||
export class DemoService { |
||||
|
||||
constructor() { |
||||
console.log("start"); |
||||
} |
||||
|
||||
method() { |
||||
} |
||||
|
||||
} |
||||
|
||||
angular.module('openproject').service("demoService", DemoService); |
@ -0,0 +1,12 @@ |
||||
{ |
||||
"compilerOptions": { |
||||
"target": "ES5", |
||||
"module": "commonjs", |
||||
"noEmitOnError": false, |
||||
"noImplicitAny": false, |
||||
"removeComments": false, |
||||
"preserveConstEnums": true, |
||||
"sourceMap": true |
||||
}, |
||||
"files": ["typings/tsd.d.ts"] |
||||
} |
@ -0,0 +1,15 @@ |
||||
{ |
||||
"version": "v4", |
||||
"repo": "borisyankov/DefinitelyTyped", |
||||
"ref": "master", |
||||
"path": "typings", |
||||
"bundle": "typings/tsd.d.ts", |
||||
"installed": { |
||||
"jquery/jquery.d.ts": { |
||||
"commit": "43b6bf88758852b9ab713a9b011487f047f94f4e" |
||||
}, |
||||
"angularjs/angular.d.ts": { |
||||
"commit": "43b6bf88758852b9ab713a9b011487f047f94f4e" |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue