We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb82ade commit aabe1ceCopy full SHA for aabe1ce
src/estimators/directive/index.ts
@@ -8,7 +8,7 @@ export type ComplexityDirectiveOptions = {
8
name?: string
9
}
10
11
-export function createComplexityDirective(options: ComplexityDirectiveOptions = {}) {
+export function createComplexityDirective(options?: ComplexityDirectiveOptions) {
12
const mergedOptions = {
13
name: 'complexity',
14
...(options || {})
0 commit comments