Skip to content

Commit

Permalink
feat(transferstateservice): Fix ngc error (#152)
Browse files Browse the repository at this point in the history
Fixing an ngc error around using Document as a DI token.
  • Loading branch information
aaronfrost authored Jan 7, 2020
1 parent 42ab761 commit 1d3eafd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const SCULLY_SCRIPT_ID = `scully-transfer-state`;
const SCULLY_STATE_START = `___SCULLY_STATE_START___`;
const SCULLY_STATE_END = `___SCULLY_STATE_END___`;

// Adding this dynamic comment to supress ngc error around Document as a DI token.
// https://github.com/angular/angular/issues/20351#issuecomment-344009887
/** @dynamic */
@Injectable({
providedIn: 'root',
})
Expand Down

0 comments on commit 1d3eafd

Please sign in to comment.