Skip to main content
Module

x/ddc_vim/deps.ts>spy

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function spy
import { spy } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";

Wraps a function or instance method with a Spy.

Type Parameters

optional
Self = any
optional
Args extends unknown[] = any[]
optional
Return = undefined

Type Parameters

Self
Args extends unknown[]
Return

Parameters

func: (this: Self, ...args: Args) => Return

Type Parameters

Self
Args extends unknown[]
Return

Parameters

self: Self
property: keyof Self