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
Post a Comment