import { SheetService } from './sheet.service' ; declare let global ; global . createNewFile = ( ) : void => { const ss = SheetService . createInitialFile ( 'New file' ) ; ss . getRange ( 'A2' ) . setValue ( 'Happy gas!' ) ; } ;