Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.d.ts #113

Closed
wants to merge 1 commit into from
Closed

Update index.d.ts #113

wants to merge 1 commit into from

Conversation

logic01
Copy link

@logic01 logic01 commented Jul 13, 2022

Fixes build errors in angular 12 when running ng build.

Error: node_modules/@ping-identity/pf-authn-js-widget/types/index.d.ts:26:40 - error TS2304: Cannot find name 'RedirectlessConfig'.
26 initRedirectless(redirectlessConfig: RedirectlessConfig): void;

"dependencies": {
"@angular/animations": "^12.2.9",
"@angular/common": "^12.2.9",
"@angular/compiler": "^12.2.9",
"@angular/core": "^12.2.9",
"@angular/forms": "^12.2.9",
"@angular/platform-browser": "^12.2.9",
"@angular/platform-browser-dynamic": "^12.2.9",
"@angular/router": "^12.2.9",
"@ping-identity/pf-authn-js-widget": "^1.7.0",
"adm-zip": "^0.4.14",
"braces": "^3.0.2",
"core-js": "^2.6.11",
"debug": "^4.1.1",
"foundation-sites": "6.6.3",
"https-proxy-agent": "2.2.4",
"jquery": "3.5.0",
"lodash": "4.17.21",
"mixpanel-browser": "^2.34.0",
"modernizr": "^3.9.0",
"ngx-mask": "^12.0.0",
"ngx-order-pipe": "2.1.1",
"rxjs": "^6.5.4",
"shareable-common": "12.1.16",
"shareable-legacy-controls": "12.1.6",
"text-mask-addons": "3.6.0",
"tslib": "^2.0.0",
"what-input": "^5.2.6",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^12.2.9",
"@angular/cli": "^12.2.9",
"@angular/compiler-cli": "^12.2.9",
"@angular/language-service": "^12.2.9",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "^2.0.8",
"@types/jquery": "^3.3.32",
"@types/mixpanel": "^2.14.2",
"@types/node": "~8.9.4",
"cheerio": "^1.0.0-rc.3",
"codelyzer": "^6.0.0",
"file-to-sha384": "^0.0.1",
"fs": "^0.0.1-security",
"gulp": "^4.0.2",
"gulp-util": "^3.0.8",
"jasmine-core": "~3.10.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.4",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"protractor": "^7.0.0",
"replace-in-file": "^6.1.0",
"ssri": "^8.0.0",
"ts-node": "~5.0.1",
"tslint": "~6.1.3",
"typescript": "~4.3.5",
"webpack-bundle-analyzer": "^3.6.0"
}

The RedirectlessConfig class is not exposed in the index.d.ts. This causes an angular build to fail. So I have changed it to use the interface that is exposed.
@mketchum
Copy link
Collaborator

Thank you very much for submitting this. Unfortunately, we can't accept external code submissions for this project.

However, I have created the same changes on #114. They will be included in the next release

@mketchum mketchum closed this Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants