Screenshot of code for Server.js class showing the type definitions for the FilePathMixin and a typedef that mixes it into Polka’s Middleware class. Relevant lines: /** @typedef {{ filePath: string }} FilePathMixin */ /** @typedef {import('polka').Middleware<any> & FilePathMixin} HandlerWithFilePathMixin */
https://s3-eu-central-1.amazonaws.com/mastodon-aral/media_attachments/files/110/530/676/401/194/390/original/80aaf67ecc0e5955.png