skip to Main Content

import as variable and concatenation? – Twitter API

I found this piece of code in github and I don't understand it function writeClients(dictionary: IReferenceDirectory[]) { //more code here let superClientFile = `import IClientOptions from './base/IClientOptions';n`; superClientFile += `import Transport from './base/Transport';nn`; source: https://github.com/Silind/twitter-api-client/blob/c8d724f38a9ed7112cd112ce11f2013f21b4740f/src/generator/writeClients.ts#L11 why don't the author import…

VIEW QUESTION
Back To Top
Search