mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Use local file for oidc-provider typings
Due to v8 of oidc-provider being ESM, we can't use the typings directly because of a TS bug: https://github.com/microsoft/TypeScript/issues/49721. This works around that.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import type { Provider } from 'oidc-provider';
|
||||
import type { Operation } from '../../../src/http/Operation';
|
||||
import { BasicRepresentation } from '../../../src/http/representation/BasicRepresentation';
|
||||
import type { Representation } from '../../../src/http/representation/Representation';
|
||||
@@ -16,6 +15,7 @@ import type {
|
||||
} from '../../../src/storage/conversion/RepresentationConverter';
|
||||
import { APPLICATION_JSON, APPLICATION_X_WWW_FORM_URLENCODED } from '../../../src/util/ContentTypes';
|
||||
import { CONTENT_TYPE } from '../../../src/util/Vocabularies';
|
||||
import type Provider from '../../../templates/types/oidc-provider';
|
||||
|
||||
describe('An IdentityProviderHttpHandler', (): void => {
|
||||
const request: HttpRequest = {} as any;
|
||||
|
||||
Reference in New Issue
Block a user