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