method dax.PathRef.prototype.withExtnameRe-exportimport { dax } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts"; const { PathRef } = dax; withExtname(ext: string): PathRefGets a new path reference with the provided extension. Parametersext: stringReturnsPathRef