Skip to content

Commit

Permalink
fix type annotations are forbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
aruniverse committed Feb 3, 2022
1 parent b099dd5 commit 9b806f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/express-server/src/ExpressServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class IModelJsExpressServer {

private _protocol: WebAppRpcProtocol;
private _config: IModelJsExpressServerConfig;
protected _app: import("express").Application = express();
protected _app: express.Application = express();

/** @alpha */
public get rpcConfiguration(): RpcConfiguration { return this._protocol.configuration; }
Expand Down
2 changes: 1 addition & 1 deletion tools/certa/src/utils/initMocha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
// NB: This file is not a CommonJs module - it needs to run in the browser. Do not import or export modules here!

type CertaConfig = import("../CertaConfig").CertaConfig;
import type { CertaConfig } from "../CertaConfig";
declare let _CERTA_CONFIG: CertaConfig; // eslint-disable-line @typescript-eslint/naming-convention

((config: CertaConfig) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import * as ResizeObserverPolyfill from "resize-observer-polyfill";

/** @internal */
export type ResizeObserverType = typeof import("resize-observer-polyfill").default;
export type ResizeObserverType = typeof ResizeObserverPolyfill.default;

function getModule(mod: any) {
/* istanbul ignore if */
Expand Down

0 comments on commit 9b806f4

Please sign in to comment.