From c9f7404974a92333a2438d47cec2fcb96ec2d55c Mon Sep 17 00:00:00 2001 From: Mary Anthony Date: Mon, 13 Jan 2020 18:48:26 -0800 Subject: [PATCH] Missing a push Signed-off-by: Mary Anthony --- _develop/collection-type.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/_develop/collection-type.md b/_develop/collection-type.md index 4d9c21f9..08d0c8b8 100644 --- a/_develop/collection-type.md +++ b/_develop/collection-type.md @@ -22,13 +22,11 @@ npm install -g blockstack-collections You should also familiarize yourself with the Collection class and review the existing Collection types. Keep in mind, someone else may have already added a custom type similar to what you want to add. -Collection types must be written in a `.ts` (Typescript) file. Typescript is a typed superset of Javascript, you can read the language documentation to learn more. - -{% include question.html content="My assumption is they have to use typescript .ts files but can the file itself simply contain Javascipt?"%} +Collection types can be written in `.js` Javascript or `.ts` (Typescript) files. Typescript is a typed superset of Javascript, you can read the language documentation to learn more. ## Essential steps for creating a Collection type -Follow these steps to create a new collection type: +This section demonstrates how to create a new collection type using Typescript. While this is written in Typescript, the steps in Javascript are the same. Follow these steps to create a new collection type: 1. Create a new `.ts` file and open it for editing. 2. Import the `Collection` class. @@ -157,7 +155,4 @@ To publish your Collection type, do the following: 1. Clone or fork the blockstack-collections repo. 2. Add your new type file to the `src/types` subdirectory. -3. Create a pull request back to the repository. - - -{% include question.html content="Are we testing submission code in any way?"%} +3. Create a pull request back to the `blockstack-collection` repository. \ No newline at end of file