mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
IComponentControllerService ($componentController) has a second param, locals, which allows for an optional scope key to be provided. This fixes the typing to make that property actually optional. You can see that here https://docs.angularjs.org/guide/component#unit-testing-component-controllers and here https://docs.angularjs.org/api/ngMock/service/$componentController |
||
|---|---|---|
| .. | ||
| angular-mocks-tests.ts | ||
| index.d.ts | ||
| mocks.d.ts | ||
| tsconfig.json | ||