Skip to main content
Home
This release is 1 version behind 1.0.12 — the latest version of @std/internal. Jump to latest

@std/internal@1.0.10
Built and signed on GitHub Actions

Works with
This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score100%
Downloads64,938/wk
Published6 months ago (1.0.10)

INTERNAL: The internal package for @std. Do not use this directly.

// Copyright 2018-2025 the Deno authors. MIT license. // This module is browser compatible. /** Ways that lines in a diff can be different. */ export type DiffType = "removed" | "common" | "added"; /** * Represents the result of a diff operation. * * @typeParam T The type of the value in the diff result. */ export interface DiffResult<T> { /** The type of the diff. */ type: DiffType; /** The value of the diff. */ value: T; /** The details of the diff. */ details?: DiffResult<T>[]; }