import { keys as Keys } from 'ts-transformer-keys'; import { oc as Oc } from 'ts-optchain'; window.oc = Oc window.keys = Keys declare global { var keys: typeof Keys; var oc: typeof Oc; export interface Window { keys: typeof Keys; oc: typeof Oc; } }