1.

What is import and export in TypeScript?

Answer»

The export keyword is used to export any declaration such as function, variables, interface, or type alias. The export * from "MODULE" can be used by a module to WRAP one or more modules and COMBINE TOGETHER their exporting. Whereas, the import keyword is used to export declaration.



Discussion

No Comment Found