Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

v1.10.0 Build on TypeScript 2.9.2 Reporting Error TS1039 #1015

Closed
lsuarez5280 opened this issue Dec 16, 2019 · 3 comments · Fixed by #1019
Closed

v1.10.0 Build on TypeScript 2.9.2 Reporting Error TS1039 #1015

lsuarez5280 opened this issue Dec 16, 2019 · 3 comments · Fixed by #1019
Labels
Milestone

Comments

@lsuarez5280
Copy link

lsuarez5280 commented Dec 16, 2019

It's all right if there's not an intent to support TypeScript v2.9 on this release, but I did want to raise that the latest minor release caused a build failure against that language version, which I wouldn't have expected.

Builds are reporting:

ERROR in node_modules/oidc-client/index.d.ts(41,26): error TS1039: Initializers are not allowed in ambient contexts.

@brockallen
Copy link
Member

Maybe related to this: #954

@lsuarez5280
Copy link
Author

I'll take a look at other options for loading the webpack module in my application without sending it through the TypeSciprt compiler in the process and report back my findings (if I have any) before I close this out.

@willianfalbo
Copy link

willianfalbo commented Dec 17, 2019

I'm facing the same error. Also, I've raised another issue for the angular sample v4 (https://github.com/jmurphzyo/Angular2OidcClient/tree/ng4).

Issue 39
jmurphzyo/Angular2OidcClient#39

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

3 participants