> findExports(`export const foo: Handler<string, number> = function foo(){}`)
[
{
type: 'declaration',
declaration: 'const',
name: 'foo',
code: 'export const foo: Handler<string, number',
start: 0,
end: 40,
names: [ 'foo', 'number' ],
declarationType: 'const'
}
]
> findExportNames(`export const foo: Handler<string, number> = function foo(){}`)
[ 'foo', 'number' ]
>