Skip to content

Commit

Permalink
Use const require for Racer due to not actually having types
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbeck committed Oct 19, 2023
1 parent 620dcee commit aa592a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Derby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
*
*/
import racer = require('racer');
import Racer = require('racer/lib/Racer');


import { App, type AppBase } from './App';
import { Component } from './components';
import { Page } from './Page';

// eslint-disable-next-line @typescript-eslint/no-var-requires
const Racer = require('racer/lib/Racer');

export abstract class DerbyBase extends Racer {
Component = Component;
abstract createApp(name: string, filename: string, options): AppBase
Expand Down

0 comments on commit aa592a4

Please sign in to comment.