Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/essential-typescript
/ functions
Functions
298 in github.com/Apress/essential-typescript
⨍
Functions
298
◇
Types & classes
232
↓ 22 callers
Method
get
(name: string)
12 - Using Generic Types/types/src/index.ts:8
↓ 9 callers
Method
add
(...newItems: T[])
12 - Using Generic Types/types/src/index.ts:7
↓ 6 callers
Method
updateContent
()
16 - Stand-Alone Web App - 2/webapp/src/htmlDisplay.tsx:32
↓ 4 callers
Method
getTodoItems
(includeComplete: boolean)
01 - First TypeScript App/todo/src/todoCollection.ts:28
↓ 3 callers
Method
addProduct
(product: SportsProduct, quantity: number)
14 - Working with JavaScript/usingjs/src/cart.ts:22
↓ 3 callers
Function
calculateTax
(price)
04 - JavaScript Primer, Part 2/primer/tax.js:1
↓ 3 callers
Method
getCategories
()
17 - Angular Web App/angularapp/src/app/data/dataSource.ts:47
↓ 3 callers
Method
getData
()
17 - Angular Web App/angularapp/src/app/data/dataSource.ts:29
↓ 3 callers
Method
getProducts
(sortProp: ProductProp = "id", category? : string)
17 - Angular Web App/angularapp/src/app/data/dataSource.ts:25
↓ 3 callers
Function
promptUser
()
01 - First TypeScript App/todo/src/index.ts:52
↓ 3 callers
Method
selectProducts
(prods: Product[], sortProp: ProductProp, category?: string)
17 - Angular Web App/angularapp/src/app/data/dataSource.ts:40
↓ 3 callers
Method
storeTasks
()
01 - First TypeScript App/todo/src/jsonTodoCollection.ts:42
↓ 3 callers
Method
updateContent
()
15 - Stand-Alone Web App/webapp/src/htmlDisplay.tsx:23
↓ 3 callers
Function
writeMessage
(message)
14 - Working with JavaScript/usingjs/src/formatters.js:20
↓ 3 callers
Function
writeMessage
(message: string)
14 - Working with JavaScript/usingjs/src/tsFormatters.ts:13
↓ 2 callers
Function
addChild
(elem: HTMLElement, child: any)
16 - Stand-Alone Web App - 2/webapp/src/tools/jsxFactory.ts:4
↓ 2 callers
Function
addChild
(elem: HTMLElement, child: any)
15 - Stand-Alone Web App/webapp/src/tools/jsxFactory.ts:4
↓ 2 callers
Method
getItemCounts
()
01 - First TypeScript App/todo/src/todoCollection.ts:48
↓ 2 callers
Method
getTodoById
(id: number)
01 - First TypeScript App/todo/src/todoCollection.ts:24
↓ 2 callers
Function
makeObject
(constructor: T, ...args: ConstructorParameters<T>)
13 - Advanced Generic Types/types/src/index.ts:3
↓ 2 callers
Function
registerValidSW
(swUrl: string, config?: Config)
19 - React Web App/reactapp/src/serviceWorker.ts:65
↓ 2 callers
Function
registerValidSW
(swUrl: string, config?: Config)
20 - React Web App -2/reactapp/src/serviceWorker.ts:65
↓ 2 callers
Method
render
()
19 - React Web App/reactapp/src/header.tsx:10
↓ 2 callers
Method
render
()
20 - React Web App -2/reactapp/src/orderDetails.tsx:19
↓ 2 callers
Function
sum
(...vals: number[])
06 - Testing and Debugging TypeScript/tools/src/calc.ts:1
↓ 1 callers
Function
addClass
(selector: string, ...classNames: string[])
16 - Stand-Alone Web App - 2/webapp/src/decorators.ts:13
↓ 1 callers
Function
addProduct
(...products: Product[])
19 - React Web App/reactapp/src/data/actionCreators.ts:5
↓ 1 callers
Function
addProduct
(...products: Product[])
20 - React Web App -2/reactapp/src/data/actionCreators.ts:5
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
17 - Angular Web App/angularapp/src/app/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
19 - React Web App/reactapp/src/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
18 - Angular Web App - 2/angularapp/src/app/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
20 - React Web App -2/reactapp/src/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
16 - Stand-Alone Web App - 2/webapp/src/data/entities.ts:28
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
22 - Vue.js Web App - 2/vueapp/src/data/entities.ts:29
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
21 - Vue.js Web App/vueapp/src/data/entities.ts:29
↓ 1 callers
Method
addProduct
(prod: Product, quantity: number)
15 - Stand-Alone Web App/webapp/src/data/entities.ts:28
↓ 1 callers
Method
addTodo
(task: string)
01 - First TypeScript App/todo/src/todoCollection.ts:16
↓ 1 callers
Function
applyDiscount
(product, discount = 5)
04 - JavaScript Primer, Part 2/primer/utils.js:8
↓ 1 callers
Function
calculatePrice
(quantity: 1 | 2, price: number)
09 - Using Arrays, Tuples and Enums/types/src/index.ts:1
↓ 1 callers
Function
calculateTax
(amount: number | null)
08 - Using Functions/types/src/index.ts:3
↓ 1 callers
Function
checkValidServiceWorker
(swUrl: string, config?: Config)
19 - React Web App/reactapp/src/serviceWorker.ts:109
↓ 1 callers
Function
checkValidServiceWorker
(swUrl: string, config?: Config)
20 - React Web App -2/reactapp/src/serviceWorker.ts:109
↓ 1 callers
Function
costFormatter
(thing: string, cost: number | string)
14 - Working with JavaScript/usingjs/src/tsFormatters.ts:5
↓ 1 callers
Function
displayData
()
16 - Stand-Alone Web App - 2/webapp/src/index.ts:8
↓ 1 callers
Function
displayData
()
15 - Stand-Alone Web App/webapp/src/index.ts:7
↓ 1 callers
Function
displayTodoList
()
01 - First TypeScript App/todo/src/index.ts:13
↓ 1 callers
Method
getCategories
()
18 - Angular Web App - 2/angularapp/src/app/data/dataSource.ts:47
↓ 1 callers
Method
getCategoryButton
(cat?: string)
16 - Stand-Alone Web App - 2/webapp/src/categoryList.tsx:17
↓ 1 callers
Method
getCategoryButton
(cat?: string)
15 - Stand-Alone Web App/webapp/src/categoryList.tsx:17
↓ 1 callers
Method
getContent
()
16 - Stand-Alone Web App - 2/webapp/src/htmlDisplay.tsx:27
↓ 1 callers
Method
getContent
()
16 - Stand-Alone Web App - 2/webapp/src/header.tsx:11
↓ 1 callers
Method
getContent
()
15 - Stand-Alone Web App/webapp/src/domDisplay.ts:10
↓ 1 callers
Method
getContent
()
15 - Stand-Alone Web App/webapp/src/htmlDisplay.tsx:18
↓ 1 callers
Method
getData
()
18 - Angular Web App - 2/angularapp/src/app/data/dataSource.ts:29
↓ 1 callers
Method
getElementText
()
16 - Stand-Alone Web App - 2/webapp/src/domDisplay.ts:17
↓ 1 callers
Method
getElementText
()
15 - Stand-Alone Web App/webapp/src/domDisplay.ts:17
↓ 1 callers
Method
getListContent
(products: Product[], categories: string[])
16 - Stand-Alone Web App - 2/webapp/src/htmlDisplay.tsx:55
↓ 1 callers
Method
getProducts
(sortProp: ProductProp = "id", category? : string)
18 - Angular Web App - 2/angularapp/src/app/data/dataSource.ts:25
↓ 1 callers
Method
getTitleText
()
17 - Angular Web App/angularapp/e2e/src/app.po.ts:8
↓ 1 callers
Method
getTitleText
()
18 - Angular Web App - 2/angularapp/e2e/src/app.po.ts:8
↓ 1 callers
Function
getValue
(input: comboType)
09 - Using Arrays, Tuples and Enums/types/src/index.ts:16
↓ 1 callers
Method
loadProducts
()
17 - Angular Web App/angularapp/src/app/data/remoteDataSource.ts:24
↓ 1 callers
Method
loadProducts
(callback: (products: Product[]) => void)
19 - React Web App/reactapp/src/data/httpHandler.ts:15
↓ 1 callers
Method
loadProducts
()
18 - Angular Web App - 2/angularapp/src/app/data/remoteDataSource.ts:26
↓ 1 callers
Method
loadProducts
(callback: (products: Product[]) => void)
20 - React Web App -2/reactapp/src/data/httpHandler.ts:17
↓ 1 callers
Method
loadProducts
()
16 - Stand-Alone Web App - 2/webapp/src/data/localDataSource.ts:6
↓ 1 callers
Method
loadProducts
()
15 - Stand-Alone Web App/webapp/src/data/localDataSource.ts:6
↓ 1 callers
Method
markComplete
(id: number, complete: boolean)
01 - First TypeScript App/todo/src/todoCollection.ts:33
↓ 1 callers
Function
minimumValue
(propName: string, min: number)
16 - Stand-Alone Web App - 2/webapp/src/decorators.ts:3
↓ 1 callers
Method
navigateTo
()
17 - Angular Web App/angularapp/e2e/src/app.po.ts:4
↓ 1 callers
Method
navigateTo
()
18 - Angular Web App - 2/angularapp/e2e/src/app.po.ts:4
↓ 1 callers
Function
printDetails
(product)
04 - JavaScript Primer, Part 2/primer/utils.js:3
↓ 1 callers
Method
printDetails
()
01 - First TypeScript App/todo/src/todoItem.ts:9
↓ 1 callers
Function
printMessage
(msg: string)
05 - Using the TypeScript Compiler/tools/src/index.ts:3
↓ 1 callers
Function
printMessage
(msg: string)
06 - Testing and Debugging TypeScript/tools/src/index.ts:3
↓ 1 callers
Function
promptAdd
()
01 - First TypeScript App/todo/src/index.ts:27
↓ 1 callers
Function
promptComplete
()
01 - First TypeScript App/todo/src/index.ts:37
↓ 1 callers
Method
removeComplete
()
01 - First TypeScript App/todo/src/todoCollection.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
17 - Angular Web App/angularapp/src/app/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
19 - React Web App/reactapp/src/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
18 - Angular Web App - 2/angularapp/src/app/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
20 - React Web App -2/reactapp/src/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
16 - Stand-Alone Web App - 2/webapp/src/data/entities.ts:40
↓ 1 callers
Method
removeProduct
(id: number)
22 - Vue.js Web App - 2/vueapp/src/data/entities.ts:42
↓ 1 callers
Method
removeProduct
(id: number)
21 - Vue.js Web App/vueapp/src/data/entities.ts:42
↓ 1 callers
Method
removeProduct
(id: number)
15 - Stand-Alone Web App/webapp/src/data/entities.ts:40
↓ 1 callers
Method
selectProducts
(prods: Product[], sortProp: ProductProp, category?: string)
18 - Angular Web App - 2/angularapp/src/app/data/dataSource.ts:40
↓ 1 callers
Function
sizeFormatter
(thing: string, count: number)
14 - Working with JavaScript/usingjs/src/tsFormatters.ts:1
↓ 1 callers
Method
storeOrder
()
18 - Angular Web App - 2/angularapp/src/app/data/dataSource.ts:51
↓ 1 callers
Method
storeOrder
(order: Order, callback: (id: number) => void)
20 - React Web App -2/reactapp/src/data/httpHandler.ts:21
↓ 1 callers
Method
storeOrder
()
16 - Stand-Alone Web App - 2/webapp/src/data/localDataSource.ts:21
↓ 1 callers
Function
sum
(...vals: number[])
05 - Using the TypeScript Compiler/tools/src/calc.ts:1
↓ 1 callers
Function
writeValue
(label: string, value: number)
08 - Using Functions/types/src/index.ts:10
Function
ProductItem
(props)
19 - React Web App/reactapp/src/productItem.tsx:13
Function
ProductItem
(props)
20 - React Web App -2/reactapp/src/productItem.tsx:13
Function
StoreReducer
(data: StoreData | undefined , action)
19 - React Web App/reactapp/src/data/reducer.ts:6
Function
StoreReducer
(data: StoreData | undefined , action)
20 - React Web App -2/reactapp/src/data/reducer.ts:6
Function
action
(name?: string)
22 - Vue.js Web App - 2/vueapp/src/data/storeDecorators.ts:31
Function
action
(name?: string)
21 - Vue.js Web App/vueapp/src/data/storeDecorators.ts:31
Function
add
(...newItems: T[])
12 - Using Generic Types/types/src/index.ts:15
next →
1–100 of 298, ranked by callers