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