UNPKG

relay-runtime

Version:

A core runtime for building GraphQL-driven applications.

21 lines (16 loc) 351 B
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format * @oncall relay */ 'use strict'; let id = 100000; function generateID(): number { return id++; } module.exports = generateID;