import Spreadsheet = GoogleAppsScript . Spreadsheet . Spreadsheet ; import { getDayFormat } from './util' ; export class SheetService { static createInitialFile ( prefix ) { const fileName = `${ prefix } ${ getDayFormat ( ) }` ; const ss = SpreadsheetApp . create ( fileName ) ; const range = ss . getRange ( 'A1' ) ; range . setValue ( 'Hello, clasp!' ) ; return ss ; } }