並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 45件

新着順 人気順

typescript array of objects type interfaceの検索結果1 - 40 件 / 45件

  • React with TypeScript Cheatsheet

    Build in AI speed — Compose enterprise-grade applications, features, and componentsHow to type React propsSince React props are used to send transmit data between one React component to another, there are many types that you can use to type React props. To write the types of your props, you need to add a colon and the object literal notation (: {}) next to the destructuring assignment of the child

      React with TypeScript Cheatsheet
    • GitHub - modelcontextprotocol/servers: Model Context Protocol Servers

      Official integrations are maintained by companies building production ready MCP servers for their platforms. 21st.dev Magic - Create crafted UI components inspired by the best 21st.dev design engineers. 2slides - An MCP server that provides tools to convert content into slides/PPT/presentation or generate slides/PPT/presentation with user intention. ActionKit by Paragon - Connect to 130+ SaaS inte

        GitHub - modelcontextprotocol/servers: Model Context Protocol Servers
      • OOP: the worst thing that happened to programming

        > BTC: bc1qs0sq7agz5j30qnqz9m60xj4tt8th6aazgw7kxr ETH: 0x1D834755b5e889703930AC9b784CB625B3cd833E USDT(Tron): TPrCq8LxGykQ4as3o1oB8V7x1w2YPU2o5n Ton: UQAtBuFWI3H_LpHfEToil4iYemtfmyzlaJpahM3tFSoxomYQ Doge: D7GMQdKhKC9ymbT9PtcetSFTQjyPRRfkwTdismiss OOP: the worst thing that happened to programming [2/24/2025] In this article, we will try to understand why OOP is the worst thing that happened to prog

          OOP: the worst thing that happened to programming
        • Introducing Ezno

          Ezno is an experimental compiler I have been working on and off for a while. In short, it is a JavaScript compiler featuring checking, correctness and performance for building full-stack (rendering on the client and server) websites. This post is just an overview of some of the features I have been working on which I think are quite cool as well an overview on the project philosophy ;) It is still

            Introducing Ezno
          • Cloudflare Workers + Hono ワークショップ - ServerlessDays Tokyo 2023

            Cloudflare Workers + Hono ワークショップ 資料はこちら => workshops.yusuke.run #serverlessdays Yusuke Wada 2023-09-24 ServerlessDays Tokyo 2023 workshops.yusuke.run アジェンダ ワークショップについて Workers イントロダクション Hono イントロダクション 基本編 プロキシ編 Web API編 フルスタック編 AI編 Honoをより深く知る その他 1. ワークショップについて 1.1 対象 対象者 Cloudflareでのアプリケーション作成に興味のある方 Honoを使ってみたい方 フロント、バックエンド問いません 前提条件 Wranglerが動く環境をつくっておく npx wrangler が動く JavaScriptに対する知識があるとよい

              Cloudflare Workers + Hono ワークショップ - ServerlessDays Tokyo 2023
            • JSX Over The Wire — overreacted

              Suppose you have an API route that returns some data as JSON: app.get('/api/likes/:postId', async (req, res) => { const postId = req.params.postId; const [post, friendLikes] = await Promise.all([ getPost(postId), getFriendLikes(postId, { limit: 2 }), ]); const json = { totalLikeCount: post.totalLikeCount, isLikedByUser: post.isLikedByUser, friendLikes: friendLikes, }; res.json(json); }); You also

                JSX Over The Wire — overreacted
              • Announcing TypeScript 4.7 - TypeScript

                Today we’re excited to announce the availability of TypeScript 4.7! If you’re not yet familiar with TypeScript, it’s a language that builds on JavaScript and adds syntax for types. Types help describe what kinds of values you’re working with and what kinds of functions you’re calling. TypeScript can use this information to help you avoid about mistakes like typos, missing arguments, or forgetting

                  Announcing TypeScript 4.7 - TypeScript
                • Announcing TypeScript 4.7 Beta - TypeScript

                  Today we are excited to announce the beta release of TypeScript 4.7! To get started using the beta, you can use npm with the following command: npm install typescript@beta You can also get editor support by Downloading for Visual Studio 2022/2019 Following directions for Visual Studio Code and Sublime Text 3. Here’s a quick list of what’s new in TypeScript 4.7! ECMAScript Module Support in Node.js

                    Announcing TypeScript 4.7 Beta - TypeScript
                  • Write your own Zod

                    8/29/2023 Write your own Zod Write your own Zod from scratch Table of Contents Introduction Primitive types Complex types: ZodArray<T> Complex types: ZodObject<T> Building schemas Validating schemas Next steps Footnotes Introductionλ Zod is a Typescript library where defining a schema gives you both runtime validation and type safety. As an exercise in type-level gymnastics, lets make our own Zod

                    • Announcing TypeScript 4.8 - TypeScript

                      Today we’re excited to announce the release of TypeScript 4.8! If you’re not yet familiar with TypeScript, it’s a language that builds on JavaScript and adds syntax for types. These types let you put your expectations and assumptions into your code, and those assumptions can then be checked by the TypeScript type-checker. This checking can help avoid typos, calling uninitialized values, mixing up

                        Announcing TypeScript 4.8 - TypeScript
                      • Announcing TypeScript 5.2 - TypeScript

                        Today we’re excited to announce the release of TypeScript 5.2! If you’re not familiar with TypeScript, it’s a language that builds on top of JavaScript by making it possible to declare and describe types. Writing types in our code allows us to explain intent and have other tools check our code to catch mistakes like typos, issues with null and undefined, and more. Types also power TypeScript’s edi

                          Announcing TypeScript 5.2 - TypeScript
                        • App Server – Codex | OpenAI Developers

                          Protocol Like MCP, codex app-server supports bidirectional communication using JSON-RPC 2.0 messages (with the "jsonrpc":"2.0" header omitted on the wire). Supported transports: stdio (--listen stdio://, default): newline-delimited JSON (JSONL). websocket (--listen ws://IP:PORT, experimental): one JSON-RPC message per WebSocket text frame. In WebSocket mode, app-server uses bounded queues. When re

                            App Server – Codex | OpenAI Developers
                          • Announcing TypeScript 4.9 - TypeScript

                            Today we are excited to announce the availability of TypeScript 4.9! If you’re not familiar with TypeScript, it’s a language that builds on JavaScript by adding types and type-checking. Types can describe things like the shapes of our objects, how functions can be called, and whether a property can be null or undefined. TypeScript can check these types to make sure we’re not making mistakes in our

                              Announcing TypeScript 4.9 - TypeScript
                            • Announcing TypeScript 4.9 Beta - TypeScript

                              Today we’re announcing our beta release of TypeScript 4.9! To get started using the beta, you can get it through NuGet, or- use npm with the following command: npm install -D typescript@beta You can also get editor support by Downloading for Visual Studio 2022/2019 Following directions for Visual Studio Code. Here’s a quick list of what’s new in TypeScript 4.9! The satisfies Operator Unlisted Prop

                                Announcing TypeScript 4.9 Beta - TypeScript
                              • All JavaScript and TypeScript Features of the last 3 years

                                TypeScript as envisioned by Stable DiffusionThis article goes through almost all of the changes of the last 3 years (and some from earlier) in JavaScript / ECMAScript and TypeScript . Not all of the following features will be relevant to you or even practical, but they should instead serve to show what’s possible and to deepen your understanding of these languages. There are a lot of TypeScript fe

                                  All JavaScript and TypeScript Features of the last 3 years
                                • Announcing TypeScript 5.2 RC - TypeScript

                                  Today we’re excited to announce our Release Candidate of TypeScript 5.2! Between now and the stable release of TypeScript 5.2, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet, or through npm with the following command: npm install -D typescript@rc Here’s a quick list of what’s new in TypeScript 5.2! using Declarations and Explic

                                    Announcing TypeScript 5.2 RC - TypeScript
                                  • Announcing TypeScript 4.7 RC - TypeScript

                                    Today we’re excited to announce our Release Candidate (RC) of TypeScript 4.7! Between now and the stable release of TypeScript 4.7, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet, or use npm with the following command: npm install typescript@rc You can also get editor support by Downloading for Visual Studio 2022/2019 Following

                                      Announcing TypeScript 4.7 RC - TypeScript
                                    • Announcing TypeScript 5.5 - TypeScript

                                      Today we’re excited to announce the release of TypeScript 5.5! If you’re not familiar with TypeScript, it’s a language that builds on top of JavaScript by making it possible to declare and describe types. Writing types in our code allows us to explain intent and have other tools check our code to catch mistakes like typos, issues with null and undefined, and more. Types also power TypeScript’s edi

                                        Announcing TypeScript 5.5 - TypeScript
                                      • Write OpenAPI with TypeSpec

                                        I've spent the last few years at Microsoft working on an API definition language called TypeSpec. It's essentially a super flexible protocol-agnostic DSL for describing API shapes. You can try it in your browser at the TypeSpec playground. Many things about it are exciting, but I want to talk about one thing in particular: why TypeSpec is the best way to write OpenAPI. OpenAPI: the good and the no

                                        • WebGPU — All of the cores, none of the canvas — surma.dev

                                          WebGPU is an upcoming Web API that gives you low-level, general-purpose access GPUs. I am not very experienced with graphics. I picked up bits and bobs of WebGL by reading through tutorials on how to build game engines with OpenGL and learned more about shaders by watching Inigo Quilez do amazing things on ShaderToy by just using shaders, without any 3D meshes or models. This got me far enough to

                                            WebGPU — All of the cores, none of the canvas — surma.dev
                                          • Announcing TypeScript 4.8 Beta - TypeScript

                                            Today we’re announcing our beta release of TypeScript 4.8! To get started using the beta, you can get it through NuGet, or- use npm with the following command: npm install -D typescript@beta You can also get editor support by Downloading for Visual Studio 2022/2019 Following directions for Visual Studio Code. Here’s a quick list of what’s new in TypeScript 4.8! Improved Intersection Reduction, Uni

                                              Announcing TypeScript 4.8 Beta - TypeScript
                                            • Ruby 3.2 runtime now available in AWS Lambda | Amazon Web Services

                                              AWS Compute Blog Ruby 3.2 runtime now available in AWS Lambda This post is written by Praveen Koorse, Senior Solutions Architect, AWS. AWS Lambda now supports Ruby 3.2 runtime. With this release, Ruby developers can now take advantage of new features and improvements introduced in Ruby 3 when creating serverless applications on Lambda. Use this runtime today by specifying the runtime parameter of

                                                Ruby 3.2 runtime now available in AWS Lambda | Amazon Web Services
                                              • Designing a Dataflow Editor With TypeScript and React | Protocol Labs Research

                                                This is a design report – a story about the tradeoffs and challenges that we encountered while building a medium-complexity React component in TypeScript. These include state modeling (“making illegal states unrepresentable”) basic type-level programming in TypeScript DX patterns for generically typed React components DX patterns for reusable controlled components using a Redux-like action/dispatc

                                                  Designing a Dataflow Editor With TypeScript and React | Protocol Labs Research
                                                • Announcing TypeScript 5.5 Beta - TypeScript

                                                  Today we are excited to announce the availability of TypeScript 5.5 Beta. To get started using the beta, you can get it through NuGet, or through npm with the following command: npm install -D typescript@beta Here’s a quick list of what’s new in TypeScript 5.5! Inferred Type Predicates Control Flow Narrowing for Constant Indexed Accesses Type Imports in JSDoc Regular Expression Syntax Checking Iso

                                                    Announcing TypeScript 5.5 Beta - TypeScript
                                                  • The Bun Bundler | Bun Blog

                                                    Reducing complexity in JavaScriptJavaScript started as autofill for form fields, and today it powers the instruments that launch rockets to space. Unsurprisingly, the JavaScript ecosystem has exploded in complexity. How do you run TypeScript files? How do you build/bundle your code for production? Does that package work with ESM? How do you load local-only configuration? Do I need to install peer

                                                    • Announcing TypeScript 4.9 RC - TypeScript

                                                      Today we’re excited to announce our Release Candidate (RC) of TypeScript 4.9. Between now and the stable release of TypeScript 4.9, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet, or use npm with the following command: npm install -D typescript@rc You can also get editor support by Downloading for Visual Studio 2022/2019 Follow

                                                        Announcing TypeScript 4.9 RC - TypeScript
                                                      • Announcing TypeScript 5.5 RC - TypeScript

                                                        Today we are excited to announce the availability of the release candidate of TypeScript 5.5. To get started using the RC, you can get it through NuGet, or through npm with the following command: npm install -D typescript@rc Here’s a quick list of what’s new in TypeScript 5.5! Inferred Type Predicates Control Flow Narrowing for Constant Indexed Accesses Type Imports in JSDoc Regular Expression Syn

                                                          Announcing TypeScript 5.5 RC - TypeScript
                                                        • Announcing TypeScript 4.8 RC - TypeScript

                                                          Today we’re excited to announce our Release Candidate (RC) of TypeScript 4.8. Between now and the stable release of TypeScript 4.8, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet, or use npm with the following command: npm install -D typescript@rc You can also get editor support by Downloading for Visual Studio 2022/2019 Follow

                                                            Announcing TypeScript 4.8 RC - TypeScript
                                                          • Biome v2.4—Embedded Snippets, HTML Accessibility, and Better Framework Support

                                                            Biome v2.4 is the first minor release of the year! After more than ten patches from v2.3, today we bring to you a new version that contains many new features! Once you have upgraded to Biome v2.4.0, migrate your Biome configuration to the new version by running the migrate command: biome migrate --write Highlights Among all the features shipped in this release, here are the ones we think you’re go

                                                              Biome v2.4—Embedded Snippets, HTML Accessibility, and Better Framework Support
                                                            • Cloudflare functions with Scala.js

                                                              Indoor VivantsAnton Sviridov. I love reinventing the wheel and I usually use Scala for that. TL;DR We are deploying an app to Cloudflare using Scala.js We are using ScalablyTyped We are using Scala 3 heavily Code on Github Deployed app Cloudflare API bindings Welcome to the "Put ma Scala on yo cloud" series I want to say that I'm kicking off a blog series, but even I don't believe that. If I did,

                                                              • Announcing TypeScript 5.2 Beta - TypeScript

                                                                Today we are excited to announce the availability of TypeScript 5.2 Beta. To get started using the beta, you can get it through NuGet, or through npm with the following command: npm install -D typescript@beta Here’s a quick list of what’s new in TypeScript 5.2! using Declarations and Explicit Resource Management Decorator Metadata Named and Anonymous Tuple Elements Easier Method Usage for Unions o

                                                                  Announcing TypeScript 5.2 Beta - TypeScript
                                                                • prompts.chat - AI Prompts Community

                                                                  --- name: skill-creator description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations. license: Complete terms in LICENSE.txt --- # Skill Creator This skill provides guidance for creating effective skills. ## About Skills S

                                                                    prompts.chat - AI Prompts Community
                                                                  • V8 Torque user manual · V8

                                                                    V8 Torque is a language that allows developers contributing to the V8 project to express changes in the VM by focusing on the intent of their changes to the VM, rather than preoccupying themselves with unrelated implementation details. The language was designed to be simple enough to make it easy to directly translate the ECMAScript specification into an implementation in V8, but powerful enough t

                                                                    • Typing Component Props | React TypeScript Cheatsheets

                                                                      This is intended as a basic orientation and reference for React developers familiarizing with TypeScript. Basic Prop Types Examples​A list of TypeScript types you will likely use in a React+TypeScript app: type AppProps = { message: string; count: number; disabled: boolean; /** array of a type! */ names: string[]; /** string literals to specify exact string values, with a union type to join them t

                                                                        Typing Component Props | React TypeScript Cheatsheets
                                                                      • Using LangChainJS and Cloudflare Workers together

                                                                        We are incredibly stoked that our friends at LangChain have announced LangChainJS Support for Multiple JavaScript Environments (including Cloudflare Workers). During Developer Week 2023 we wanted to celebrate this launch and our future collaborations with LangChain. “Our goal for LangChain is to empower developers around the world to build with AI. We want LangChain to work wherever developers are

                                                                          Using LangChainJS and Cloudflare Workers together
                                                                        • Ezno in '23

                                                                          It's been a minute since the previous announcement so I thought would give some updates and share some upcoming problems. This follows the initial announcement and includes some smaller things I shared on Twitter since the announcement post. Never heard of Ezno? It is a parser, partial executor, optimizer and type checker for JavaScript! Read the initial announcement. New changes Classes, getters

                                                                            Ezno in '23
                                                                          • React Best Practices – Tips for Writing Better React Code

                                                                            By Jean-Marc Möckel Two years ago, I started to learn and use React. And today I'm still using it at my day job as a Software Developer and in my own side projects. During that time I've come across a lot of "typical" issues. So I searched around and found some best practices that I've integrated into my workflow, and I've come up with things that have made my life or my team members' lives easier

                                                                              React Best Practices – Tips for Writing Better React Code
                                                                            • Building a type-safe dictionary in TypeScript - LogRocket Blog

                                                                              Editor’s note: This article was last updated by Shalitha Suranga on 20 February 2024 to include advanced type checking techniques like adding, removing, and checking for keys. Developers use a variety of data structures in codebases, all based on programming requirements. Storing key-value data pairs is a general requirement for most software development projects. For example, you may need to stor

                                                                                Building a type-safe dictionary in TypeScript - LogRocket Blog
                                                                              • Aberdeen - v1.4.0

                                                                                Aberdeen Build fast reactive UIs in pure TypeScript/JavaScript without a virtual DOM. Aberdeen's approach is refreshingly simple: Use many small anonymous functions for emitting DOM elements, and automatically rerun them when their underlying data changes. JavaScript Proxy is used to track reads and updates to this data, which can consist of anything, from simple values to complex, typed, and deep

                                                                                • A guide to `tsconfig.json`

                                                                                  Version: TypeScript 5.8 [2025-03-19] Improve section on exactOptionalPropertyTypes. [2025-03-18] Improve summary at the end. [2025-02-06] Change title. Improve section “Compiling TypeScript with tools other than tsc”. [2025-01-29] Explain the TypeScript 5.8 option erasableSyntaxOnly. I never felt confident about my tsconfig.json. To change that, I went through the official documentation, collected