Skip to main content

SourceMaps.applyToStackTrace

Function

Applies the SourceMaps to the stack trace to map JavaScript to TypeScript.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

applyToStackTrace(trace): string

Applies the SourceMaps to the stack trace to map JavaScript to TypeScript.

Parameters

ParameterType
tracestring

Returns

string