@turbowarp/types-tw
    Preparing search index...
    • Fetch a script and then evaluate it in an IIFE, returning an expression of your choice. May be inlined at build-time.

      Type Parameters

      • T = unknown

      Parameters

      • url: string

        Must be absolute and constant.

      • returnExpression: string

        JS expression to return, usually a variable name but could be an object instead. Must be constant.

      Returns T | Promise<T>