Skip to content

Instantly share code, notes, and snippets.

@kitsonk
Last active August 18, 2020 18:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kitsonk/7c2c2d331dccb13f25c931ca6be9a40a to your computer and use it in GitHub Desktop.
Save kitsonk/7c2c2d331dccb13f25c931ca6be9a40a to your computer and use it in GitHub Desktop.
An example of using lodash under Deno in a type safe way.
// @deno-types="https://unpkg.com/@types/lodash@4.14.135/index.d.ts"
import * as lodash from "https://cdn.pika.dev/lodash-es@^4.17.15";
console.log(Object.keys(lodash));
@garronej
Copy link

Yeah it does not work :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment