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

This commit is contained in:
Alan Bridgeman 2026-05-13 15:17:35 -05:00
parent 8f0c91a74a
commit 1156a28de4
2 changed files with 5 additions and 5 deletions

View file

@ -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.');