Update globals.ts