diff --git a/index.d.ts b/index.d.ts index 76a20bfb38..8e1050a94a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -425,7 +425,7 @@ declare const execa: { @example ``` - import execa from 'execa'; + import execa = require('execa'); (async () => { const {stdout} = await execa('echo', ['unicorns']); @@ -499,7 +499,7 @@ declare const execa: { @example ``` - import execa from 'execa'; + import execa = require('execa'); (async () => { const {stdout} = await execa.command('echo unicorns');