Complete the code to re-export everything from the module './utils'.
export * [1] './utils';
In TypeScript, to re-export all exports from another module, you use export * from 'module'.
Complete the code to re-export only the named export 'calculate' from './math'.
export { [1] } from './math';To re-export a specific named export, list it inside curly braces after export.
Fix the error in the code to re-export the default export from './config'.
export { [1] as default } from './config';To re-export the default export from './config' as the named export 'default', use export { default as default } from './config';. The identifier default refers to the default export of the module.
Fill both blanks to re-export 'foo' as 'bar' from './module'.
export { [1] [2] bar } from './module';To rename an export during re-export, use { originalName as newName }.
Fill all three blanks to re-export 'alpha' and 'beta' from './lib' and rename 'gamma' to 'delta'.
export { alpha, beta, [1] [2] [3] } from './lib';To rename an export while re-exporting, use { originalName as newName }. Other exports can be listed normally.