Open
Description
It'd be useful if we could use TypeScript to define our Ava configurations via an ava.config.ts
file.
Ideally, we'd be able to structure them like so:
// Importable `Configuration` type
import { Configuration } from 'ava';
// Typed configuration object
const configuration: Configuration = {
// ... config goes here
};
export default configuration;
Webpack supports similar functionality with webpack.config.ts
files (although I believe ts-node
is required for those).