Skip to content

TS type library for the popular webgl library threejs

Notifications You must be signed in to change notification settings

gegoggigog/three-ts-types

 
 

Repository files navigation

This repository is the home for the TypeScript types for three.js. Periodically the updates from this repository are pushed to DefinitelyTyped and released in the @types/three npm package.

We are using this repository as a home for the types instead of DefinitelyTyped because:

  • It is less daunting for users to raise issues or create PRs on a repository that is specific to three.js
  • It is easier to organize the process of making sure we're staying up-to-date with the changes in the three.js repository
  • It gives us more freedom to use our own process

Priorities and goals

The highest priority is making sure that there are no inaccurate types (or types for things that have been removed).

It is a goal to have complete public facing API types for all of the code in the src directory.

It is not a goal for the examples/jsm directory to have complete declaration files for every examples module due to the number of example modules and how quickly they are modified. If you would like to use an examples module that is missing types then create a PR to add the types or create an issue to request that we add the missing types for that module.

Contributing

Please see our Contributing Guidelines to help you get started. One of the most important things is choosing a branch to start your work on. If the code you want to contribute is for the current release of three it should be based off master. If it is for the next release of three it should be based off dev. You should then aim your merge into the branch you based off.

Contributors

Thanks goes to these wonderful people (emoji key):

Josh
Josh

💬 🐛 💻 📖 🤔 🚧 👀 ⚠️
Nathan Bierema
Nathan Bierema

💬 🐛 💻 📖 🤔 🚇 🚧 👀 ⚠️
Michael Herzog
Michael Herzog

💻
Cody Bennett
Cody Bennett

💻
0b5vr
0b5vr

💻 ⚠️
Marquizzo
Marquizzo

💻
Yuanzk
Yuanzk

💻
Elisée Maurer
Elisée Maurer

💻
soadzoor
soadzoor

💻
rinsuki
rinsuki

💻
efokschaner
efokschaner

💻
Jonghun Park
Jonghun Park

💻
sjpt
sjpt

💻
Michał Mrozek
Michał Mrozek

💻
puxiao
puxiao

💻
ycw
ycw

💻
Jazcash
Jazcash

💻
Bjorn Stromberg
Bjorn Stromberg

💻
HappyTurtle
HappyTurtle

💻
Shuta Hirai
Shuta Hirai

💻
Servin Nissen
Servin Nissen

💻
Ben
Ben "Pig" Chu

💻
Makoto Yamada
Makoto Yamada

💻
schwyzl
schwyzl

💻
Degubi
Degubi

💻
Ibby Wedin
Ibby Wedin

💻
dbuck
dbuck

💻
Robert Long
Robert Long

💻
Max Kaye
Max Kaye

📖
Alejandro Laufer
Alejandro Laufer

🐛 💻
Gianmarco
Gianmarco

💻
David Peicho
David Peicho

💻
Joe Pea
Joe Pea

💻
Subhankar Pal
Subhankar Pal

💻
Sean T. McBeth
Sean T. McBeth

💻
Arthur LAURENT
Arthur LAURENT

💻
Serena Li
Serena Li

💻
cosformula
cosformula

💻
Peter Hanula
Peter Hanula

💻
Adam Thompson-Sharpe
Adam Thompson-Sharpe

💻
noname
noname

💻
Greg Schafer
Greg Schafer

💻
SuperSodaSea
SuperSodaSea

💻
Matt Rossman
Matt Rossman

💻
Alex Pineda
Alex Pineda

💻
Lucas
Lucas

📖
Maciej Ziarkowski
Maciej Ziarkowski

💻
Suprhimp
Suprhimp

💻
Stephen Li
Stephen Li

💻
Moritz Cremer
Moritz Cremer

💻
LuchoTurtle
LuchoTurtle

💻
Marcel Wiessler
Marcel Wiessler

💻
Josh Stern
Josh Stern

💻
Dan Rose
Dan Rose

💻

FAQ

Why are the declaration files in a types/three/ directory and why is there a notNeededPackages.json?

This makes it easier to re-use the testing process used by DefinitelyTyped since they have a check to make sure the types are within a types directory as well a check for notNeededPackages.json. It also makes it possible to use typeRoots in the tsconfig.json so that the three types can be resolved correctly in the tests.

About

TS type library for the popular webgl library threejs

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%