angular - Typescript : Can we export a function which we have imported in the same file? -


common-functions-aggregated.ts

import { blank } './common-some-specific-functions'  export function gettitleprefix(key) {     let prefix: string = "";       return prefix; }  export blank 

i trying import functions various sources , aggregate , export them common-functions-aggregated.ts

how can achieve if possible?

yes, can, syntax incorrect:

export { blank }; 

Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -