Coder Social home page Coder Social logo

nikolausliu.github.io's Introduction

nikolausliu.github.io's People

Contributors

nikolausliu avatar

Stargazers

 avatar

Watchers

 avatar

nikolausliu.github.io's Issues

eslint的无法识别ts全局type解决方案 | NIKO'S BLOG

https://nikolausliu.github.io/2021-06-28/eslint%E6%97%A0%E6%B3%95%E8%AF%86%E5%88%ABts%E5%85%A8%E5%B1%80type%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88.html

我在ts项目中声明了一个全局type,在使用这个type的时候,可以获得类型提示,但是eslint的no-undef规则无法校验通过 123declare global { type IdLike = number | string | null} 查阅eslint官方文档得知,需要配置eslint配置文件(.eslintrc.*文件或package.json文件的esli

Vue3 script setup提案终于定稿了 | NIKO'S BLOG

https://nikolausliu.github.io/2021-07-06/Vue3-script-setup%E6%8F%90%E6%A1%88%E7%BB%88%E4%BA%8E%E5%AE%9A%E7%A8%BF%E4%BA%86.html#more

vue3的<script setup>提案处于实验阶段已经几个月了,当我们用vite的vue模板时终端会提示我们这仍是一个实验性提案,并且建议我们如果使用这个写法要锁vue版本以避免breakage。所以之前我只是对这个提案做了个了解,并没有在工作中使用这个写法。终于我们在2021年6月29日上午迎来了他的Finalization,下面简单梳理下这个定稿的内容。

你真的了解async...await吗?进来看看这道题 | NIKO'S BLOG

https://nikolausliu.github.io/2021-07-14/%E4%BD%A0%E7%9C%9F%E7%9A%84%E4%BA%86%E8%A7%A3async-await%E5%90%97%EF%BC%9F%E8%BF%9B%E6%9D%A5%E7%9C%8B%E7%9C%8B%E8%BF%99%E9%81%93%E9%A2%98.html

偶然间看到下面这道题,是考察async...await机制的,我觉得还挺有意思的。你可以试试不借助控制台自己在心里推算一下运行结果。 1234567891011121314151617181920212223242526272829303132333435363738const Err = async () => { throw new Error(42);};const

外观数列解题思路 | NIKO'S BLOG

https://nikolausliu.github.io/2021-07-09/%E5%A4%96%E8%A7%82%E6%95%B0%E5%88%97%E8%A7%A3%E9%A2%98%E6%80%9D%E8%B7%AF.html#more

外观数列是一个整数序列,从数字 1 开始,序列中的每一项都是对前一项的描述。 123456789101 11211211111221第一项是数字 1 描述前一项,这个数是 1 即 “ 一 个 1 ”,记作 "11"描述前一项,这个数是 11 即 “ 二 个 1 ” ,记作 "21"描述前一项,这个数是 21 即 “ 一 个 2 + 一 个 1 ”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.