Closed huang-julien closed 4 days ago
unplugin 1.10.1 node 20
https://github.com/nuxt/scripts/blob/d2a3bbb4cc298d8bb2accf6d4931aef7239237d7/src/plugins/check-scripts.ts#L40
Hello :wave:
Sometimes, users can use transform without returning anything. In that case they are forced to specify a return undefined to satisfy typescript.
return undefined
No response
Environment
unplugin 1.10.1 node 20
Reproduction
https://github.com/nuxt/scripts/blob/d2a3bbb4cc298d8bb2accf6d4931aef7239237d7/src/plugins/check-scripts.ts#L40
Describe the bug
Hello :wave:
Sometimes, users can use transform without returning anything. In that case they are forced to specify a
return undefined
to satisfy typescript.Additional context
No response
Logs
No response