---
title: "Discussion on \"Write 'once' function with TS from scratch\" | Hashnode"
description: "Discussion on \"Write 'once' function with TS from scratch\". TLDR I know about lodash implementation of once. I know about Parameters and ReturnType generic function in Typescript. I want to reinvent the wheel.\nHere is example full example on ts playground Example of code\nOnce?\nSuppose I want to create functio..."
url: "https://hashnode.com/posts/write-once-function-with-ts-from-scratch/65fc3285cb6aee3be5714713"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Write 'once' function with TS from scratch](https://r11baka.hashnode.dev/write-once-function-with-ts-from-scratch?utm_source=hashnode&utm_medium=feed)

TLDR I know about lodash implementation of once. I know about Parameters and ReturnType generic function in Typescript. I want to reinvent the wheel. Here is example full example on ts playground Example of code Once? Suppose I want to create functio...

Mar 21, 2024 · 3 min read · r11baka.hashnode.dev  
Updated Mar 29, 2024  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript-tutorial](https://hashnode.com/tag/typescript-tutorial)

## Written by

[Alex](https://hashnode.com/@r11baka)

@r11baka

  
[View profile](https://hashnode.com/@r11baka)

serverless

developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
