recoil-next 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -500,12 +500,7 @@ type Retainable = RecoilValue<unknown> | RetentionZone;
500
500
  declare function useRetain(retainable: Retainable): void;
501
501
 
502
502
  /**
503
- * Copyright (c) Meta Platforms, Inc. and affiliates.
504
- *
505
- * This source code is licensed under the MIT license found in the
506
- * LICENSE file in the root directory of this source tree.
507
- *
508
- * @oncall recoil
503
+ * TypeScript port of Recoil_atomFamily.js
509
504
  */
510
505
 
511
506
  type AtomFamilyOptionsWithoutDefault<T, P extends Parameter> = Readonly<AtomOptionsWithoutDefault<T> & {
@@ -525,25 +520,13 @@ declare function atomFamily<T, P extends Parameter>(options: AtomFamilyOptions<T
525
520
  declare function constSelector<T extends Parameter>(constant: T): RecoilValueReadOnly<T>;
526
521
 
527
522
  /**
528
- * Copyright (c) Meta Platforms, Inc. and affiliates.
529
- *
530
- * This source code is licensed under the MIT license found in the
531
- * LICENSE file in the root directory of this source tree.
532
- *
533
- * @oncall recoil
523
+ * TypeScript port of Recoil_errorSelector.js
534
524
  */
535
525
 
536
526
  declare function errorSelector<T>(message: string): RecoilValueReadOnly<T>;
537
527
 
538
528
  /**
539
- * Copyright (c) Meta Platforms, Inc. and affiliates.
540
- *
541
- * This source code is licensed under the MIT license found in the
542
- * LICENSE file in the root directory of this source tree.
543
- *
544
- * Wraps another recoil value and prevents writing to it.
545
- *
546
- * @oncall recoil
529
+ * TypeScript port of Recoil_readOnlySelector.js
547
530
  */
548
531
 
549
532
  declare function readOnlySelector<T>(atom: RecoilValue<T>): RecoilValueReadOnly<T>;
package/dist/index.d.ts CHANGED
@@ -500,12 +500,7 @@ type Retainable = RecoilValue<unknown> | RetentionZone;
500
500
  declare function useRetain(retainable: Retainable): void;
501
501
 
502
502
  /**
503
- * Copyright (c) Meta Platforms, Inc. and affiliates.
504
- *
505
- * This source code is licensed under the MIT license found in the
506
- * LICENSE file in the root directory of this source tree.
507
- *
508
- * @oncall recoil
503
+ * TypeScript port of Recoil_atomFamily.js
509
504
  */
510
505
 
511
506
  type AtomFamilyOptionsWithoutDefault<T, P extends Parameter> = Readonly<AtomOptionsWithoutDefault<T> & {
@@ -525,25 +520,13 @@ declare function atomFamily<T, P extends Parameter>(options: AtomFamilyOptions<T
525
520
  declare function constSelector<T extends Parameter>(constant: T): RecoilValueReadOnly<T>;
526
521
 
527
522
  /**
528
- * Copyright (c) Meta Platforms, Inc. and affiliates.
529
- *
530
- * This source code is licensed under the MIT license found in the
531
- * LICENSE file in the root directory of this source tree.
532
- *
533
- * @oncall recoil
523
+ * TypeScript port of Recoil_errorSelector.js
534
524
  */
535
525
 
536
526
  declare function errorSelector<T>(message: string): RecoilValueReadOnly<T>;
537
527
 
538
528
  /**
539
- * Copyright (c) Meta Platforms, Inc. and affiliates.
540
- *
541
- * This source code is licensed under the MIT license found in the
542
- * LICENSE file in the root directory of this source tree.
543
- *
544
- * Wraps another recoil value and prevents writing to it.
545
- *
546
- * @oncall recoil
529
+ * TypeScript port of Recoil_readOnlySelector.js
547
530
  */
548
531
 
549
532
  declare function readOnlySelector<T>(atom: RecoilValue<T>): RecoilValueReadOnly<T>;