i love deno-fmt
This commit is contained in:
parent
5197e3316d
commit
995161f491
9 changed files with 435 additions and 430 deletions
|
|
@ -5,6 +5,10 @@
|
||||||
"imports": {
|
"imports": {
|
||||||
"interest/jsx-runtime": "./src/jsx.ts"
|
"interest/jsx-runtime": "./src/jsx.ts"
|
||||||
},
|
},
|
||||||
|
"fmt": {
|
||||||
|
"useTabs": true,
|
||||||
|
"semiColons": true
|
||||||
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"rules": {
|
"rules": {
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import { close, open } from "interest/jsx-runtime";
|
||||||
|
|
||||||
async function* Fruits() {
|
async function* Fruits() {
|
||||||
const fruits = ["TSX", "Apple", "Banana", "Cherry"];
|
const fruits = ["TSX", "Apple", "Banana", "Cherry"];
|
||||||
|
|
||||||
yield open("ol");
|
yield open("ol");
|
||||||
for (const fruit of fruits) {
|
for (const fruit of fruits) {
|
||||||
await new Promise((r) => setTimeout(r, 500));
|
await new Promise((r) => setTimeout(r, 500));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue