Modified middleware typing so that it should be easier to use
Some checks failed
Build, Test, and Publish (to Private NPM Registry) UI Components Library / publish (push) Failing after 56s
Some checks failed
Build, Test, and Publish (to Private NPM Registry) UI Components Library / publish (push) Failing after 56s
This commit is contained in:
parent
8f0c91a74a
commit
1156a28de4
2 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ app.set('view engine', 'ejs');
|
|||
app.set('views', './test-harness/views');
|
||||
|
||||
// Mount the library using your virtual path strategy
|
||||
app.use(await baWebComponents({ expressApp: app }) as RequestHandler);
|
||||
app.use(await baWebComponents<RequestHandler>({ expressApp: app }));
|
||||
|
||||
app.get('/', (req: Request, res: Response) => {
|
||||
res.send('Hello from the test server! Navigate to /test/tooltip to see the tooltip component test page.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue