method default.prototype.setNanosecondsimport { default } from "https://deno.land/x/durationjs@v4.1.0/mod.ts"; setNanoseconds(n: number): DurationSet nanoseconds of the duration. Parametersn: numberNumber of nanoseconds to set. ReturnsDurationThe updated duration.