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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -