Download next.js/test/unit/cssnano-simple/noop-template.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/unit/cssnano-simple/noop-template.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/unit/cssnano-simple/noop-template.ts
-
curl -L -o noop-template.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/unit/cssnano-simple/noop-template.ts
235 Bytes
| export default function noop(strings: TemplateStringsArray, ...keys: string[]) { | |
| const lastIndex = strings.length - 1 | |
| return ( | |
| strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], '') + | |
| strings[lastIndex] | |
| ) | |
| } | |