mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Fixed Test
This commit is contained in:
@@ -14,7 +14,7 @@ interface TestScope extends ng.IScope {
|
||||
|
||||
module ng.local.storage.tests {
|
||||
export class TestController {
|
||||
constructor($scope: TestScope, localStorageService: ng.local.storage.ILocalStorageService) {
|
||||
constructor($scope: TestScope, localStorageService: ng.local.storage.ILocalStorageService<string>) {
|
||||
// isSupported
|
||||
if (localStorageService.isSupported) {
|
||||
// do something
|
||||
@@ -72,4 +72,4 @@ app.config(function (localStorageServiceProvider: ng.local.storage.ILocalStorage
|
||||
.setNotify(true, true);
|
||||
});
|
||||
|
||||
app.controller('TestController', ng.local.storage.tests.TestController);
|
||||
app.controller('TestController', ng.local.storage.tests.TestController);
|
||||
|
||||
Reference in New Issue
Block a user