Skip to content

Commit

Permalink
Merge pull request #103 from HuntedCodes/65unusedLocals
Browse files Browse the repository at this point in the history
fix: build with noUnusedLocals
  • Loading branch information
maxisam authored Jan 13, 2018
2 parents 8c5cfcb + 6d25538 commit d53a7dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/clipboard.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ export function CLIPBOARD_SERVICE_PROVIDER_FACTORY(doc: Document, win: Window, p
}

export const CLIPBOARD_SERVICE_PROVIDER = {
deps: [DOCUMENT, WINDOW, [new Optional(), new SkipSelf(), ClipboardService]],
deps: [
DOCUMENT as InjectionToken<Document>,
WINDOW as InjectionToken<Document>,
[new Optional(), new SkipSelf(), ClipboardService]
],
provide: ClipboardService,
useFactory: CLIPBOARD_SERVICE_PROVIDER_FACTORY
};

0 comments on commit d53a7dc

Please sign in to comment.